Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001386, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 193.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 437.1 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 63.91 kB / 0.8694 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5527/0.5549, allocations: 151.6 MB / 1.017 GB, free: 2.422 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003748/0.5587, allocations: 2.256 MB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002328/0.5611, allocations: 1.456 MB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.5613, allocations: 4 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007207/0.5621, allocations: 189.3 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005041/0.5626, allocations: 131.3 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005135/0.5631, allocations: 165.4 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003925/0.5635, allocations: 267.1 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.5637, allocations: 52.72 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.5639, allocations: 103.6 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.5641, allocations: 107.4 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.632e-05/0.5642, allocations: 16 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.5643, allocations: 63.91 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.5644, allocations: 91.67 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.5646, allocations: 154.8 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.565, allocations: 382.6 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.565, allocations: 4 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.565, allocations: 0 / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.5651, allocations: 0 / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00104/0.5661, allocations: 0.7074 MB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.5662, allocations: 15.97 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.56e-05/0.5662, allocations: 42.73 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.619e-05/0.5663, allocations: 44.38 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006125/0.5669, allocations: 400.1 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.567, allocations: 12.12 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.567, allocations: 8 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.5672, allocations: 95.27 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.5673, allocations: 3.984 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.5673, allocations: 4 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.5673, allocations: 8 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.5674, allocations: 51.97 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008339/0.5683, allocations: 0.4886 MB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.5687, allocations: 106.7 kB / 1.025 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.684e-05/0.5688, allocations: 40.83 kB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.5688, allocations: 0 / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.569, allocations: 87.31 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.569, allocations: 7.938 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0004624/0.5695, allocations: 177 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.5695, allocations: 59.39 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006063/0.5702, allocations: 0.4911 MB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.5702, allocations: 29.7 kB / 1.025 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.5704, allocations: 228 kB / 1.026 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.5704, allocations: 31.61 kB / 1.026 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.533e-05/0.5705, allocations: 45.7 kB / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5706, allocations: 362.8 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.5708, allocations: 43.98 kB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.5709, allocations: 79.98 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.5711, allocations: 107.3 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.5711, allocations: 3.938 kB / 1.026 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003632/0.5715, allocations: 206.3 kB / 1.027 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.5715, allocations: 14.12 kB / 1.027 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5715, allocations: 0 / 1.027 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.5716, allocations: 0 / 1.027 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.5717, allocations: 31.98 kB / 1.027 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.5717, allocations: 4 kB / 1.027 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.5719, allocations: 23.83 kB / 1.027 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.5719, allocations: 4 kB / 1.027 GB, free: 8.723 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.mFue_flow.tab.nextTimeEvent,$whenCondition1,mFue_flow.tab.nextTimeEventScaled,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEvent,assFue.hys.y,$PRE.assFue.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001924/0.5721, allocations: 199.2 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.887e-05/0.5722, allocations: 43.44 kB / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.325e-05/0.5723, allocations: 51.91 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.5723, allocations: 0 / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.5723, allocations: 0 / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5723, allocations: 0 / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.5726, allocations: 317.4 kB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.5727, allocations: 0 / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.593e-05/0.5727, allocations: 8 kB / 1.027 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5727, allocations: 0 / 1.027 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.5728, allocations: 15.98 kB / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5728, allocations: 0 / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5728, allocations: 384 / 1.027 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.5732, allocations: 224.3 kB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/0.5732, allocations: 112.5 kB / 1.028 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.5733, allocations: 8 kB / 1.028 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.235e-05/0.5734, allocations: 7.984 kB / 1.028 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.5735, allocations: 15.98 kB / 1.028 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.5735, allocations: 8 kB / 1.028 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000376/0.5739, allocations: 350.8 kB / 1.028 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5739, allocations: 4 kB / 1.028 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002651/0.5741, allocations: 43.91 kB / 1.028 GB, free: 7.25 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assFue.floChaRat.x) * Number of discrete variables: 4 ($whenCondition1,assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 3 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00144/0.5756, allocations: 1.077 MB / 1.029 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002698/0.5759, allocations: 107.9 kB / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5759, allocations: 0 / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.125e-05/0.576, allocations: 39.92 kB / 1.029 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.5764, allocations: 63.98 kB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/0.58, allocations: 3.193 MB / 1.032 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.5804, allocations: 0.8221 MB / 1.033 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001214/0.5805, allocations: 37.92 kB / 1.033 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.5807, allocations: 127.4 kB / 1.033 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.5807, allocations: 0 / 1.033 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.6064, allocations: 7.573 MB / 1.041 GB, free: 10.39 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/7.846, allocations: 7.875 kB / 1.041 GB, free: 10.38 MB / 0.795 GB (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches