Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 100.1 kB / 15.88 MB, free: 12 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.001224/0.001224, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.402/1.402, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6494/0.6508, allocations: 140.3 MB / 0.9496 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.00306/0.6539, allocations: 2.316 MB / 0.9518 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001788/0.6558, allocations: 1.409 MB / 0.9532 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.6559, allocations: 6.344 kB / 0.9532 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005393/0.6565, allocations: 186.1 kB / 0.9534 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.6568, allocations: 116.5 kB / 0.9535 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.6571, allocations: 150.8 kB / 0.9537 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.6573, allocations: 257.8 kB / 0.9539 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.6575, allocations: 52.09 kB / 0.9539 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.6576, allocations: 96.84 kB / 0.954 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.6577, allocations: 107.1 kB / 0.9541 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.6578, allocations: 5.625 kB / 0.9541 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.6579, allocations: 52.12 kB / 0.9542 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.931e-05/0.658, allocations: 93.38 kB / 0.9543 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.82e-05/0.6581, allocations: 134 kB / 0.9544 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.6584, allocations: 300.7 kB / 0.9547 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.6584, allocations: 0 / 0.9547 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.41e-07/0.6584, allocations: 0 / 0.9547 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.6584, allocations: 0 / 0.9547 GB, free: 5.355 MB / 0.7169 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.0008873/0.6593, allocations: 0.7089 MB / 0.9554 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.6593, allocations: 8.938 kB / 0.9554 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.92e-05/0.6594, allocations: 45.72 kB / 0.9554 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.6598, allocations: 417.5 kB / 0.9558 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.6599, allocations: 7.5 kB / 0.9559 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.6599, allocations: 9.969 kB / 0.9559 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.6601, allocations: 98.59 kB / 0.956 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.6601, allocations: 0 / 0.956 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.6601, allocations: 0 / 0.956 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.6601, allocations: 3.531 kB / 0.956 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.6603, allocations: 48 kB / 0.956 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006546/0.6609, allocations: 0.4905 MB / 0.9565 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.6613, allocations: 102.2 kB / 0.9566 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.71e-05/0.6614, allocations: 44.53 kB / 0.9566 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.6614, allocations: 5.219 kB / 0.9566 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.6616, allocations: 81.97 kB / 0.9567 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.6616, allocations: 1.125 kB / 0.9567 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003884/0.662, allocations: 185.5 kB / 0.9569 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.662, allocations: 56.62 kB / 0.9569 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004511/0.6625, allocations: 0.4937 MB / 0.9574 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.6625, allocations: 31.22 kB / 0.9575 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.6626, allocations: 221.7 kB / 0.9577 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.6626, allocations: 37.03 kB / 0.9577 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/0.6627, allocations: 43.61 kB / 0.9577 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.631e-05/0.6628, allocations: 361.1 kB / 0.9581 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.6629, allocations: 48.06 kB / 0.9581 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.663, allocations: 86.52 kB / 0.9582 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.6632, allocations: 96.41 kB / 0.9583 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6632, allocations: 1.375 kB / 0.9583 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003013/0.6635, allocations: 207.8 kB / 0.9585 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.6635, allocations: 5.5 kB / 0.9585 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.6635, allocations: 1.375 kB / 0.9585 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.6636, allocations: 5.438 kB / 0.9585 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.6637, allocations: 36.2 kB / 0.9586 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.6637, allocations: 9.516 kB / 0.9586 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.6639, allocations: 18.44 kB / 0.9586 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.6639, allocations: 7.156 kB / 0.9586 GB, free: 2.207 MB / 0.7169 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.0001451/0.6641, allocations: 189.8 kB / 0.9588 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.6641, allocations: 51.33 kB / 0.9588 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.007e-05/0.6642, allocations: 50.28 kB / 0.9589 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.6642, allocations: 5.156 kB / 0.9589 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.6642, allocations: 1.406 kB / 0.9589 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.6642, allocations: 0 / 0.9589 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.6644, allocations: 312.5 kB / 0.9592 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6644, allocations: 0 / 0.9592 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.497e-05/0.6645, allocations: 15.08 kB / 0.9592 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.6645, allocations: 0.8438 kB / 0.9592 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.6645, allocations: 5.406 kB / 0.9592 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.6645, allocations: 0.7812 kB / 0.9592 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6646, allocations: 0 / 0.9592 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.6649, allocations: 224.5 kB / 0.9594 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.665, allocations: 115.1 kB / 0.9595 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.665, allocations: 6.188 kB / 0.9595 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.979e-05/0.6651, allocations: 7.266 kB / 0.9595 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.6652, allocations: 10.23 kB / 0.9595 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.6652, allocations: 7.344 kB / 0.9595 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003267/0.6655, allocations: 352.6 kB / 0.9599 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6655, allocations: 4.062 kB / 0.9599 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002686/0.6658, allocations: 48.73 kB / 0.9599 GB, free: 1.168 MB / 0.7169 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.0009464/0.6667, allocations: 424.9 kB / 0.9603 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002783/0.667, allocations: 115.1 kB / 0.9604 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.667, allocations: 1.156 kB / 0.9604 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.381e-05/0.6671, allocations: 38.52 kB / 0.9605 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.6676, allocations: 69.3 kB / 0.9605 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.6686, allocations: 0.8259 MB / 0.9614 GB, free: 292 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.669, allocations: 0.8248 MB / 0.9622 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.342e-05/0.6691, allocations: 30.11 kB / 0.9622 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.6691, allocations: 0 / 0.9622 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.007266/0.6763, allocations: 4.604 MB / 0.9667 GB, free: 13 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches