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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.564/2.564, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 181.1 kB / 498.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.651/1.651, allocations: 223.2 MB / 0.7949 GB, free: 17.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001067, allocations: 95.95 kB / 0.9346 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003791, allocations: 13.62 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3803, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2189/0.5993, allocations: 155.5 MB / 1.375 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003621/0.5997, allocations: 91.95 kB / 1.375 GB, free: 6.477 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03149/0.6313, allocations: 11.77 MB / 1.386 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.625e-06/0.6313, allocations: 0 / 1.386 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.97e-05/0.6314, allocations: 8 kB / 1.386 GB, free: 10.59 MB / 0.8855 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.001388/0.6328, allocations: 0.688 MB / 1.387 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.6329, allocations: 8.031 kB / 1.387 GB, free: 9.84 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.633, allocations: 51.44 kB / 1.387 GB, free: 9.789 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008441/0.6339, allocations: 379 kB / 1.387 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.6339, allocations: 8 kB / 1.387 GB, free: 9.371 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.634, allocations: 4 kB / 1.387 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.6342, allocations: 89.64 kB / 1.387 GB, free: 9.273 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.6343, allocations: 0 / 1.387 GB, free: 9.273 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.6343, allocations: 4 kB / 1.387 GB, free: 9.27 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.6343, allocations: 4 kB / 1.387 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.6345, allocations: 59.91 kB / 1.388 GB, free: 9.207 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.6355, allocations: 0.5121 MB / 1.388 GB, free: 8.645 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.6358, allocations: 94.52 kB / 1.388 GB, free: 8.543 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.6358, allocations: 4.141 kB / 1.388 GB, free: 8.539 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.636, allocations: 95.25 kB / 1.388 GB, free: 8.434 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.6361, allocations: 0 / 1.388 GB, free: 8.434 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.0004527/0.6365, allocations: 169 kB / 1.388 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.6366, allocations: 59.34 kB / 1.388 GB, free: 8.191 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006599/0.6372, allocations: 494 kB / 1.389 GB, free: 7.699 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.6373, allocations: 25.7 kB / 1.389 GB, free: 7.668 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.6375, allocations: 224 kB / 1.389 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.6375, allocations: 31.77 kB / 1.389 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.409e-05/0.6375, allocations: 8 kB / 1.389 GB, free: 7.406 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.6377, allocations: 358.8 kB / 1.39 GB, free: 7.047 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.6379, allocations: 64.34 kB / 1.39 GB, free: 6.98 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.638, allocations: 92.8 kB / 1.39 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.6382, allocations: 69.86 kB / 1.39 GB, free: 6.816 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6382, allocations: 4 kB / 1.39 GB, free: 6.812 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004093/0.6386, allocations: 237 kB / 1.39 GB, free: 6.574 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.6387, allocations: 7.953 kB / 1.39 GB, free: 6.566 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.6387, allocations: 0 / 1.39 GB, free: 6.566 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.6387, allocations: 4.062 kB / 1.39 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.6389, allocations: 35.97 kB / 1.39 GB, free: 6.527 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.6389, allocations: 7.938 kB / 1.39 GB, free: 6.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.6391, allocations: 15.91 kB / 1.39 GB, free: 6.504 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.6391, allocations: 15.98 kB / 1.39 GB, free: 6.488 MB / 0.8855 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 ($whenCondition1,$PRE.mFue_flow.tab.nextTimeEvent,$PRE.assFue.hys.y,assFue.hys.y,mFue_flow.tab.nextTimeEvent,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002278/0.6394, allocations: 185.8 kB / 1.39 GB, free: 6.297 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-05/0.6394, allocations: 43.44 kB / 1.39 GB, free: 6.254 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.6398, allocations: 169.8 kB / 1.39 GB, free: 6.082 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.6398, allocations: 3.938 kB / 1.39 GB, free: 6.078 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6398, allocations: 0 / 1.39 GB, free: 6.078 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.6398, allocations: 96 / 1.39 GB, free: 6.078 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.6401, allocations: 333.3 kB / 1.391 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.6402, allocations: 0 / 1.391 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.699e-05/0.6402, allocations: 8 kB / 1.391 GB, free: 5.695 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.6402, allocations: 4 kB / 1.391 GB, free: 5.691 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.6403, allocations: 3.938 kB / 1.391 GB, free: 5.688 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.6403, allocations: 3.953 kB / 1.391 GB, free: 5.684 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.6403, allocations: 4 kB / 1.391 GB, free: 5.68 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.6407, allocations: 220.5 kB / 1.391 GB, free: 5.445 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.6408, allocations: 116.6 kB / 1.391 GB, free: 5.312 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.6409, allocations: 4 kB / 1.391 GB, free: 5.309 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.641, allocations: 11.98 kB / 1.391 GB, free: 5.297 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.641, allocations: 11.94 kB / 1.391 GB, free: 5.285 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.6411, allocations: 12.06 kB / 1.391 GB, free: 5.273 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004353/0.6415, allocations: 366.8 kB / 1.391 GB, free: 4.918 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.9e-07/0.6415, allocations: 0 / 1.391 GB, free: 4.918 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003588/0.6419, allocations: 71.92 kB / 1.392 GB, free: 4.848 MB / 0.8855 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 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001246/0.6431, allocations: 465.8 kB / 1.392 GB, free: 4.543 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003218/0.6435, allocations: 117.1 kB / 1.392 GB, free: 4.43 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6435, allocations: 0 / 1.392 GB, free: 4.43 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.961e-05/0.6436, allocations: 43.92 kB / 1.392 GB, free: 4.387 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.644, allocations: 58.2 kB / 1.392 GB, free: 4.328 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.6453, allocations: 0.7905 MB / 1.393 GB, free: 3.508 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.6458, allocations: 0.8337 MB / 1.394 GB, free: 2.648 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001316/0.6459, allocations: 33.92 kB / 1.394 GB, free: 2.617 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.625e-05/0.646, allocations: 23.42 kB / 1.394 GB, free: 2.594 MB / 0.8855 GB Notification: Performance of SimCode: time 2.415e-06/0.646, allocations: 4 kB / 1.394 GB, free: 2.59 MB / 0.8855 GB Notification: Performance of Templates: time 0.008748/0.6547, allocations: 3.374 MB / 1.397 GB, free: 15.24 MB / 0.9011 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","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches