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.001461/0.001461, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.00188/0.00188, allocations: 181 kB / 24.09 MB, free: 420 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.9494/0.9494, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.871/1.871, allocations: 377.9 MB / 0.624 GB, free: 8.414 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.954e-06/1.954e-06, allocations: 0 / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.512e-05, allocations: 6.25 kB / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004135/0.00416, allocations: 2.279 MB / 0.8143 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002481/0.006641, allocations: 1.545 MB / 0.8158 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.006822, allocations: 0 / 0.8158 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000612/0.007434, allocations: 179.9 kB / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004235/0.007857, allocations: 191.2 kB / 0.8161 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.008114, allocations: 136.7 kB / 0.8162 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.008387, allocations: 282.9 kB / 0.8165 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.00851, allocations: 40.88 kB / 0.8166 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005768/0.009087, allocations: 244.8 kB / 0.8168 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.009197, allocations: 75.66 kB / 0.8169 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.009222, allocations: 12 kB / 0.8169 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.009328, allocations: 51.92 kB / 0.8169 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.63e-05/0.009404, allocations: 100.8 kB / 0.817 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.016e-05/0.009464, allocations: 63.67 kB / 0.8171 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.009759, allocations: 266.8 kB / 0.8173 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.009761, allocations: 1.031 kB / 0.8173 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.92e-07/0.009762, allocations: 0 / 0.8173 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.009767, allocations: 0.8438 kB / 0.8173 GB, free: 12.02 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.0006535/0.01042, allocations: 0.7676 MB / 0.8181 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.01046, allocations: 12.03 kB / 0.8181 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.188e-05/0.01052, allocations: 57.89 kB / 0.8182 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.01079, allocations: 331.3 kB / 0.8185 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.01081, allocations: 8.375 kB / 0.8185 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.01083, allocations: 13.22 kB / 0.8185 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.01096, allocations: 108.5 kB / 0.8186 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.01097, allocations: 5.094 kB / 0.8186 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.01098, allocations: 4 kB / 0.8186 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.01098, allocations: 4 kB / 0.8186 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.941e-05/0.01103, allocations: 24.16 kB / 0.8186 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.01146, allocations: 411.9 kB / 0.819 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.01156, allocations: 64.53 kB / 0.8191 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.826e-05/0.01159, allocations: 27.75 kB / 0.8191 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.01161, allocations: 6.875 kB / 0.8191 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.01172, allocations: 94.73 kB / 0.8192 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.01172, allocations: 0 / 0.8192 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0001972/0.01192, allocations: 137.3 kB / 0.8193 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.01194, allocations: 51.41 kB / 0.8194 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.01226, allocations: 0.5375 MB / 0.8199 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.01227, allocations: 25.7 kB / 0.8199 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.01242, allocations: 295.2 kB / 0.8202 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.01245, allocations: 35.86 kB / 0.8202 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-05/0.01251, allocations: 57.27 kB / 0.8203 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.01266, allocations: 0.5546 MB / 0.8208 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.493e-05/0.01269, allocations: 23.97 kB / 0.8209 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.01276, allocations: 88.66 kB / 0.821 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.093e-05/0.01283, allocations: 64.22 kB / 0.821 GB, free: 8.031 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.01283, allocations: 4 kB / 0.821 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001546/0.01298, allocations: 162.7 kB / 0.8212 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.013, allocations: 8.656 kB / 0.8212 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.013, allocations: 0 / 0.8212 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.01301, allocations: 2.75 kB / 0.8212 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.01311, allocations: 35.91 kB / 0.8212 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.01311, allocations: 7.938 kB / 0.8212 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.018e-05/0.01317, allocations: 15.89 kB / 0.8212 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.01319, allocations: 8 kB / 0.8212 GB, free: 7.789 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 9.62e-05/0.01329, allocations: 178.1 kB / 0.8214 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.01332, allocations: 47.72 kB / 0.8215 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.01347, allocations: 121.7 kB / 0.8216 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01347, allocations: 0 / 0.8216 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.01348, allocations: 3.938 kB / 0.8216 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01348, allocations: 0 / 0.8216 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.01364, allocations: 221 kB / 0.8218 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01364, allocations: 0.9375 kB / 0.8218 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.417e-05/0.01369, allocations: 11.98 kB / 0.8218 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.01369, allocations: 0 / 0.8218 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.0137, allocations: 9.031 kB / 0.8218 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.0137, allocations: 3.984 kB / 0.8218 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.0137, allocations: 0 / 0.8218 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.01388, allocations: 189 kB / 0.822 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.01391, allocations: 35.72 kB / 0.822 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.01393, allocations: 13.08 kB / 0.822 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.076e-05/0.01397, allocations: 0 / 0.822 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.01401, allocations: 19.97 kB / 0.8221 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.01402, allocations: 1.094 kB / 0.8221 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001645/0.01418, allocations: 322.6 kB / 0.8224 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01418, allocations: 0 / 0.8224 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001817/0.01436, allocations: 53.53 kB / 0.8224 GB, free: 6.531 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.0008186/0.01518, allocations: 405.7 kB / 0.8228 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.01531, allocations: 79.73 kB / 0.8229 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01531, allocations: 0 / 0.8229 GB, free: 6.203 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.106e-05/0.01536, allocations: 35.59 kB / 0.8229 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.0156, allocations: 70.2 kB / 0.823 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007735/0.01637, allocations: 0.6104 MB / 0.8236 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.619e-05/0.01644, allocations: 128.1 kB / 0.8237 GB, free: 5.309 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.952e-05/0.01651, allocations: 25.94 kB / 0.8237 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.01662, allocations: 126.2 kB / 0.8239 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of SimCode: time 8.52e-07/0.01662, allocations: 0 / 0.8239 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of Templates: time 0.006724/0.02334, allocations: 3.405 MB / 0.8272 GB, free: 1.828 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.1265511638484895]