Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.001795/0.001795, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.002534/0.002534, allocations: 161.1 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.547/1.547, allocations: 177.2 MB / 203.4 MB, free: 8.891 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.754/2.754, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 63.91 kB / 0.9515 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4347, allocations: 169.9 MB / 1.117 GB, free: 2.535 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.005498/0.4402, allocations: 2.418 MB / 1.12 GB, free: 104 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003629/0.4438, allocations: 1.618 MB / 1.121 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002375/0.444, allocations: 3.938 kB / 1.121 GB, free: 14.47 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001318/0.4454, allocations: 318.8 kB / 1.122 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0007361/0.4461, allocations: 266.9 kB / 1.122 GB, free: 13.9 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000693/0.4468, allocations: 211.5 kB / 1.122 GB, free: 13.69 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0006045/0.4474, allocations: 406.7 kB / 1.123 GB, free: 13.29 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.4476, allocations: 40.91 kB / 1.123 GB, free: 13.25 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.4478, allocations: 175.3 kB / 1.123 GB, free: 13.08 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.4481, allocations: 171.2 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.659e-05/0.4482, allocations: 20 kB / 1.123 GB, free: 12.89 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.4484, allocations: 83.94 kB / 1.123 GB, free: 12.81 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.4486, allocations: 139.5 kB / 1.123 GB, free: 12.68 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.4488, allocations: 138.9 kB / 1.123 GB, free: 12.54 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007927/0.4496, allocations: 0.521 MB / 1.124 GB, free: 12.02 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.4496, allocations: 3.938 kB / 1.124 GB, free: 12.01 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.864e-06/0.4496, allocations: 0 / 1.124 GB, free: 12.01 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.4497, allocations: 0 / 1.124 GB, free: 12.01 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001696/0.4514, allocations: 0.8008 MB / 1.125 GB, free: 11.17 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.4514, allocations: 8.031 kB / 1.125 GB, free: 11.16 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.4515, allocations: 64.52 kB / 1.125 GB, free: 11.1 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007299/0.4523, allocations: 383.3 kB / 1.125 GB, free: 10.7 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.4523, allocations: 16.11 kB / 1.125 GB, free: 10.69 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.4523, allocations: 8 kB / 1.125 GB, free: 10.68 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/0.4527, allocations: 145.4 kB / 1.125 GB, free: 10.53 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.4527, allocations: 0 / 1.125 GB, free: 10.53 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.4527, allocations: 11.98 kB / 1.125 GB, free: 10.52 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.4527, allocations: 4 kB / 1.125 GB, free: 10.51 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.4529, allocations: 71.91 kB / 1.125 GB, free: 10.44 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.454, allocations: 0.4885 MB / 1.126 GB, free: 9.922 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.4543, allocations: 126.7 kB / 1.126 GB, free: 9.789 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.4545, allocations: 40.84 kB / 1.126 GB, free: 9.746 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.4545, allocations: 4 kB / 1.126 GB, free: 9.742 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003606/0.4549, allocations: 150.8 kB / 1.126 GB, free: 9.578 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.4549, allocations: 0 / 1.126 GB, free: 9.578 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0006221/0.4555, allocations: 249.2 kB / 1.126 GB, free: 9.328 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.4555, allocations: 55.34 kB / 1.126 GB, free: 9.262 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.4566, allocations: 0.7073 MB / 1.127 GB, free: 8.547 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.4566, allocations: 33.7 kB / 1.127 GB, free: 8.508 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/0.4569, allocations: 276.4 kB / 1.127 GB, free: 8.234 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.457, allocations: 31.81 kB / 1.127 GB, free: 8.203 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.4571, allocations: 57.69 kB / 1.127 GB, free: 8.141 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002503/0.4573, allocations: 370.8 kB / 1.128 GB, free: 7.77 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.4575, allocations: 75.97 kB / 1.128 GB, free: 7.695 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.4578, allocations: 169 kB / 1.128 GB, free: 7.504 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.4581, allocations: 144.7 kB / 1.128 GB, free: 7.355 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4581, allocations: 0 / 1.128 GB, free: 7.355 MB / 1.076 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005051/0.4586, allocations: 285.2 kB / 1.128 GB, free: 7.07 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.4586, allocations: 6.656 kB / 1.128 GB, free: 7.066 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.4586, allocations: 7.938 kB / 1.128 GB, free: 7.059 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.4586, allocations: 3.984 kB / 1.128 GB, free: 7.055 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.4588, allocations: 43.92 kB / 1.128 GB, free: 7.012 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.4588, allocations: 3.984 kB / 1.128 GB, free: 7.008 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.459, allocations: 27.88 kB / 1.128 GB, free: 6.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.459, allocations: 7.938 kB / 1.128 GB, free: 6.973 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0002715/0.4593, allocations: 211.7 kB / 1.129 GB, free: 6.758 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.404e-05/0.4594, allocations: 63.62 kB / 1.129 GB, free: 6.695 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004797/0.4598, allocations: 225.5 kB / 1.129 GB, free: 6.469 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4598, allocations: 0 / 1.129 GB, free: 6.469 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4598, allocations: 0 / 1.129 GB, free: 6.469 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.4599, allocations: 7.984 kB / 1.129 GB, free: 6.461 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004764/0.4603, allocations: 297 kB / 1.129 GB, free: 6.141 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4603, allocations: 0 / 1.129 GB, free: 6.141 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.236e-05/0.4604, allocations: 11.94 kB / 1.129 GB, free: 6.129 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.4604, allocations: 3.938 kB / 1.129 GB, free: 6.125 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.4604, allocations: 11.98 kB / 1.129 GB, free: 6.113 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.4604, allocations: 7.938 kB / 1.129 GB, free: 6.105 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4604, allocations: 0 / 1.129 GB, free: 6.105 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.4609, allocations: 228.7 kB / 1.13 GB, free: 5.863 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.461, allocations: 67.5 kB / 1.13 GB, free: 5.797 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/0.461, allocations: 4 kB / 1.13 GB, free: 5.793 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.4611, allocations: 15.92 kB / 1.13 GB, free: 5.777 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.06e-05/0.4612, allocations: 15.97 kB / 1.13 GB, free: 5.762 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.4612, allocations: 8 kB / 1.13 GB, free: 5.754 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006297/0.4619, allocations: 483 kB / 1.13 GB, free: 5.285 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4619, allocations: 4 kB / 1.13 GB, free: 5.281 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003498/0.4622, allocations: 67.94 kB / 1.13 GB, free: 5.215 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001822/0.464, allocations: 459.4 kB / 1.131 GB, free: 4.945 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004437/0.4645, allocations: 153.9 kB / 1.131 GB, free: 4.797 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4645, allocations: 0 / 1.131 GB, free: 4.797 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.4646, allocations: 63.84 kB / 1.131 GB, free: 4.734 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005637/0.4652, allocations: 105.1 kB / 1.131 GB, free: 4.641 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.4668, allocations: 0.8678 MB / 1.132 GB, free: 3.738 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.4673, allocations: 266.7 kB / 1.132 GB, free: 3.457 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001597/0.4674, allocations: 46.95 kB / 1.132 GB, free: 3.41 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/0.4675, allocations: 36.48 kB / 1.132 GB, free: 3.375 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/0.4675, allocations: 0 / 1.132 GB, free: 3.375 MB / 1.076 GB Notification: Performance of Templates: time 0.7272/1.195, allocations: 4.566 MB / 1.137 GB, free: 58.14 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.636088133091107]