Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.434/2.434, allocations: 393.5 MB / 408.4 MB, free: 11 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.001315/0.001315, allocations: 178.4 kB / 0.4902 GB, free: 2.219 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.49/1.49, allocations: 223.2 MB / 0.7992 GB, free: 14.68 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.0009168/0.0009168, allocations: 92.88 kB / 0.9396 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004005, allocations: 12.59 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4053, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2319/0.6373, allocations: 156.2 MB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/0.6377, allocations: 91.94 kB / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03138/0.6691, allocations: 11.77 MB / 1.393 GB, free: 1.242 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6691, allocations: 0 / 1.393 GB, free: 1.242 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.537e-05/0.6692, allocations: 4 kB / 1.393 GB, free: 1.238 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.00105/0.6702, allocations: 0.6933 MB / 1.394 GB, free: 0.4961 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.6703, allocations: 8.562 kB / 1.394 GB, free: 500 kB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.148e-05/0.6704, allocations: 43.44 kB / 1.394 GB, free: 456 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006562/0.6711, allocations: 371.2 kB / 1.394 GB, free: 44 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.6711, allocations: 12 kB / 1.394 GB, free: 32 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.6711, allocations: 8 kB / 1.394 GB, free: 24 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.6714, allocations: 101.5 kB / 1.395 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.6714, allocations: 0 / 1.395 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.6714, allocations: 4 kB / 1.395 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.6715, allocations: 4 kB / 1.395 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.6716, allocations: 55.97 kB / 1.395 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009016/0.6725, allocations: 0.5121 MB / 1.395 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.6728, allocations: 94.69 kB / 1.395 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.6728, allocations: 0 / 1.395 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.673, allocations: 99.27 kB / 1.395 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.673, allocations: 3.938 kB / 1.395 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of matching and sorting (n=9): time 0.0004352/0.6735, allocations: 172.9 kB / 1.395 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.6735, allocations: 51.41 kB / 1.396 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005752/0.6741, allocations: 494.1 kB / 1.396 GB, free: 14.35 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.6742, allocations: 33.7 kB / 1.396 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.6743, allocations: 220 kB / 1.396 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.6744, allocations: 35.69 kB / 1.396 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/0.6744, allocations: 4 kB / 1.396 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.6746, allocations: 363.2 kB / 1.397 GB, free: 13.69 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.6747, allocations: 64.34 kB / 1.397 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.6749, allocations: 93.16 kB / 1.397 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.675, allocations: 68.02 kB / 1.397 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.675, allocations: 7.875 kB / 1.397 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003859/0.6754, allocations: 234.6 kB / 1.397 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.6755, allocations: 11.95 kB / 1.397 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6755, allocations: 0 / 1.397 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.6755, allocations: 0 / 1.397 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.6757, allocations: 43.91 kB / 1.397 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.6757, allocations: 0 / 1.397 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.6758, allocations: 20.02 kB / 1.397 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/0.6759, allocations: 8 kB / 1.397 GB, free: 13.13 MB / 0.9011 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.0001985/0.6761, allocations: 185.7 kB / 1.397 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.6761, allocations: 43.44 kB / 1.397 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.6765, allocations: 157.5 kB / 1.398 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.6765, allocations: 4 kB / 1.398 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6765, allocations: 3.938 kB / 1.398 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.6765, allocations: 0 / 1.398 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.6768, allocations: 329.4 kB / 1.398 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.6768, allocations: 0 / 1.398 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-05/0.6769, allocations: 8 kB / 1.398 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.6769, allocations: 0 / 1.398 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.6769, allocations: 7.984 kB / 1.398 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6769, allocations: 3.953 kB / 1.398 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.6769, allocations: 0 / 1.398 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.6774, allocations: 224.3 kB / 1.398 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.6775, allocations: 128.6 kB / 1.398 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.6775, allocations: 0 / 1.398 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.6777, allocations: 11.98 kB / 1.398 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.6777, allocations: 19.94 kB / 1.398 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.6777, allocations: 7.984 kB / 1.398 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003853/0.6781, allocations: 367 kB / 1.399 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6781, allocations: 0 / 1.399 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003164/0.6785, allocations: 71.86 kB / 1.399 GB, free: 11.49 MB / 0.9011 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.001154/0.6796, allocations: 456.9 kB / 1.399 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002854/0.6799, allocations: 115.9 kB / 1.399 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6799, allocations: 64 / 1.399 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.6801, allocations: 47.92 kB / 1.399 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.6804, allocations: 67 kB / 1.399 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.6816, allocations: 0.7829 MB / 1.4 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.6821, allocations: 0.8298 MB / 1.401 GB, free: 9.301 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001063/0.6822, allocations: 33.94 kB / 1.401 GB, free: 9.27 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.6823, allocations: 27.36 kB / 1.401 GB, free: 9.246 MB / 0.9011 GB Notification: Performance of SimCode: time 2.41e-07/0.6823, allocations: 4 kB / 1.401 GB, free: 9.242 MB / 0.9011 GB Notification: Performance of Templates: time 0.008455/0.6907, allocations: 3.376 MB / 1.404 GB, free: 5.895 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches