Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009648/0.0009648, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009767/0.0009767, allocations: 169 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.915/0.915, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.85/1.85, allocations: 377.8 MB / 0.6239 GB, free: 8.59 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.359e-05, allocations: 5.297 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002606/0.002619, allocations: 2.298 MB / 0.8138 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.004284, allocations: 1.557 MB / 0.8153 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.823e-05/0.004382, allocations: 4 kB / 0.8153 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000418/0.0048, allocations: 179 kB / 0.8155 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.005096, allocations: 176.3 kB / 0.8157 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.005294, allocations: 140 kB / 0.8158 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.005536, allocations: 295.5 kB / 0.8161 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.005653, allocations: 36.91 kB / 0.8161 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.005797, allocations: 144.2 kB / 0.8162 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.00591, allocations: 93.38 kB / 0.8163 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.005933, allocations: 16 kB / 0.8163 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.27e-05/0.006026, allocations: 67.77 kB / 0.8164 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.989e-05/0.006106, allocations: 103.6 kB / 0.8165 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.596e-05/0.006172, allocations: 72.2 kB / 0.8166 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.006445, allocations: 275.4 kB / 0.8168 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.006446, allocations: 0 / 0.8168 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.31e-07/0.006447, allocations: 0.7812 kB / 0.8168 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.006451, allocations: 0 / 0.8168 GB, free: 12.65 MB / 0.7761 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.0006276/0.007079, allocations: 0.7525 MB / 0.8176 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.831e-05/0.007107, allocations: 19.95 kB / 0.8176 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.322e-05/0.007171, allocations: 57.98 kB / 0.8176 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.00746, allocations: 347.4 kB / 0.818 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.007472, allocations: 4.375 kB / 0.818 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.007489, allocations: 9.062 kB / 0.818 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.007624, allocations: 120 kB / 0.8181 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.007632, allocations: 0 / 0.8181 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.007642, allocations: 4 kB / 0.8181 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.00765, allocations: 5.094 kB / 0.8181 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.84e-05/0.007728, allocations: 31.91 kB / 0.8181 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006105/0.008339, allocations: 0.4885 MB / 0.8186 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.008462, allocations: 73.38 kB / 0.8187 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.426e-05/0.008497, allocations: 23.67 kB / 0.8187 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.008511, allocations: 0 / 0.8187 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/0.00863, allocations: 110.7 kB / 0.8188 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.008631, allocations: 2.781 kB / 0.8188 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0002263/0.008857, allocations: 145.3 kB / 0.819 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.008887, allocations: 55.41 kB / 0.819 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/0.009249, allocations: 0.5378 MB / 0.8195 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.009266, allocations: 29.7 kB / 0.8196 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.009413, allocations: 294.8 kB / 0.8198 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.009441, allocations: 31.73 kB / 0.8199 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.0095, allocations: 63.22 kB / 0.8199 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.009642, allocations: 0.5446 MB / 0.8205 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.819e-05/0.00969, allocations: 31.97 kB / 0.8205 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.009759, allocations: 84.75 kB / 0.8206 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.711e-05/0.009847, allocations: 66.16 kB / 0.8206 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.009848, allocations: 0.5625 kB / 0.8206 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001817/0.01003, allocations: 181.7 kB / 0.8208 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.01004, allocations: 5.344 kB / 0.8208 GB, free: 8.332 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01005, allocations: 3.938 kB / 0.8208 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.01006, allocations: 3.938 kB / 0.8208 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.01017, allocations: 35.92 kB / 0.8209 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.01018, allocations: 9.078 kB / 0.8209 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.958e-05/0.01024, allocations: 11.98 kB / 0.8209 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.01026, allocations: 8.656 kB / 0.8209 GB, free: 8.262 MB / 0.7761 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 8.849e-05/0.01035, allocations: 165.3 kB / 0.8211 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.01038, allocations: 55.66 kB / 0.8211 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.01055, allocations: 133.4 kB / 0.8212 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01056, allocations: 4 kB / 0.8212 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.01056, allocations: 0 / 0.8212 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01056, allocations: 0 / 0.8212 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.01077, allocations: 300.4 kB / 0.8215 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01077, allocations: 4 kB / 0.8215 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.01081, allocations: 15.94 kB / 0.8215 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.01081, allocations: 0 / 0.8215 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.01083, allocations: 7.984 kB / 0.8215 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01083, allocations: 3.938 kB / 0.8216 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01083, allocations: 1.469 kB / 0.8216 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.01102, allocations: 188.1 kB / 0.8217 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.16e-05/0.01105, allocations: 39.67 kB / 0.8218 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.01108, allocations: 4.969 kB / 0.8218 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.964e-05/0.01113, allocations: 15.91 kB / 0.8218 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.01117, allocations: 13.11 kB / 0.8218 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/0.01118, allocations: 4 kB / 0.8218 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002052/0.01138, allocations: 334.8 kB / 0.8221 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01138, allocations: 1.125 kB / 0.8221 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000182/0.01157, allocations: 47.94 kB / 0.8222 GB, free: 6.887 MB / 0.7761 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 (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.0008515/0.01242, allocations: 405.2 kB / 0.8226 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001556/0.01257, allocations: 91.41 kB / 0.8226 GB, free: 6.551 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01257, allocations: 0 / 0.8226 GB, free: 6.551 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.65e-05/0.01262, allocations: 35.67 kB / 0.8227 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.01287, allocations: 64.64 kB / 0.8227 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008058/0.01368, allocations: 0.6172 MB / 0.8233 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.828e-05/0.01375, allocations: 128.1 kB / 0.8235 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.022e-05/0.01382, allocations: 33.91 kB / 0.8235 GB, free: 5.625 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.01387, allocations: 32.48 kB / 0.8235 GB, free: 5.594 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.01387, allocations: 4 kB / 0.8235 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of Templates: time 0.00589/0.01976, allocations: 3.176 MB / 0.8266 GB, free: 2.484 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.084882989991456]