Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.478/1.478, allocations: 249.5 MB / 257 MB, free: 6.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 172.9 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008422/0.0008423, allocations: 86.47 kB / 0.6714 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.649e-05/1.651e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1774, allocations: 106.4 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6108/0.7882, allocations: 137.2 MB / 1.019 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.7885, allocations: 89.5 kB / 1.019 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02817/0.8167, allocations: 10.99 MB / 1.03 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8168, allocations: 0 / 1.03 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.27e-05/0.8168, allocations: 12 kB / 1.03 GB, free: 7.289 MB / 0.6511 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.0007164/0.8175, allocations: 0.5792 MB / 1.031 GB, free: 6.688 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.8176, allocations: 8.031 kB / 1.031 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.418e-05/0.8177, allocations: 43.44 kB / 1.031 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005336/0.8182, allocations: 367.1 kB / 1.031 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.8182, allocations: 4 kB / 1.031 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.8183, allocations: 4 kB / 1.031 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001259/0.8184, allocations: 48.36 kB / 1.031 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.8186, allocations: 78.05 kB / 1.031 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.8186, allocations: 4 kB / 1.031 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.8186, allocations: 3.984 kB / 1.031 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.8186, allocations: 4 kB / 1.031 GB, free: 6.148 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006904/0.8193, allocations: 496.5 kB / 1.032 GB, free: 5.707 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.8195, allocations: 81.8 kB / 1.032 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.019e-05/0.8195, allocations: 31.61 kB / 1.032 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.8195, allocations: 3.938 kB / 1.032 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.8197, allocations: 77.14 kB / 1.032 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.8197, allocations: 3.938 kB / 1.032 GB, free: 5.535 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.000295/0.82, allocations: 133.8 kB / 1.032 GB, free: 5.414 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.8201, allocations: 55.41 kB / 1.032 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004532/0.8205, allocations: 454.2 kB / 1.032 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.8205, allocations: 29.7 kB / 1.032 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.8207, allocations: 213.2 kB / 1.033 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.8207, allocations: 34.89 kB / 1.033 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.8207, allocations: 0 / 1.033 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.8209, allocations: 360.2 kB / 1.033 GB, free: 4.465 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.005e-05/0.821, allocations: 65.8 kB / 1.033 GB, free: 4.418 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.982e-05/0.8211, allocations: 83.97 kB / 1.033 GB, free: 4.352 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.8212, allocations: 67.47 kB / 1.033 GB, free: 4.309 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.8212, allocations: 0 / 1.033 GB, free: 4.309 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002849/0.8215, allocations: 217.2 kB / 1.033 GB, free: 4.133 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.8215, allocations: 4 kB / 1.033 GB, free: 4.129 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.8215, allocations: 4 kB / 1.033 GB, free: 4.125 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.8215, allocations: 3.938 kB / 1.033 GB, free: 4.121 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.8217, allocations: 32 kB / 1.033 GB, free: 4.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.8217, allocations: 4 kB / 1.034 GB, free: 4.086 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.8219, allocations: 11.98 kB / 1.034 GB, free: 4.074 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.8219, allocations: 11.31 kB / 1.034 GB, free: 4.066 MB / 0.6511 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 () * 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 7.743e-05/0.822, allocations: 108.9 kB / 1.034 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.822, allocations: 47.42 kB / 1.034 GB, free: 3.906 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.8223, allocations: 139.1 kB / 1.034 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.8223, allocations: 8 kB / 1.034 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8223, allocations: 3.953 kB / 1.034 GB, free: 3.773 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.8223, allocations: 0 / 1.034 GB, free: 3.773 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.8225, allocations: 297.9 kB / 1.034 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.8226, allocations: 0 / 1.034 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.8226, allocations: 8 kB / 1.034 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.8226, allocations: 0 / 1.034 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.8227, allocations: 0 / 1.034 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.151e-06/0.8227, allocations: 7.984 kB / 1.034 GB, free: 3.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.8227, allocations: 0 / 1.034 GB, free: 3.48 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.823, allocations: 208.2 kB / 1.034 GB, free: 3.297 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.8231, allocations: 120.6 kB / 1.034 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.8231, allocations: 2.75 kB / 1.034 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.796e-05/0.8232, allocations: 4 kB / 1.034 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.8233, allocations: 15.97 kB / 1.034 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.8233, allocations: 8 kB / 1.034 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003559/0.8237, allocations: 332.8 kB / 1.035 GB, free: 2.883 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8237, allocations: 8 kB / 1.035 GB, free: 2.875 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003049/0.824, allocations: 55.86 kB / 1.035 GB, free: 2.824 MB / 0.6511 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) * 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.0009246/0.8249, allocations: 380.9 kB / 1.035 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.8252, allocations: 107.4 kB / 1.035 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8252, allocations: 0 / 1.035 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.24e-05/0.8253, allocations: 45.44 kB / 1.035 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.8256, allocations: 53.12 kB / 1.035 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008006/0.8264, allocations: 477.2 kB / 1.036 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004185/0.8269, allocations: 0.8298 MB / 1.037 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000103/0.827, allocations: 29.84 kB / 1.037 GB, free: 1.074 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.073e-05/0.827, allocations: 19.44 kB / 1.037 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/0.827, allocations: 0 / 1.037 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of Templates: time 0.006536/0.8336, allocations: 2.684 MB / 1.039 GB, free: 14.41 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches