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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002225/0.002225, allocations: 201.4 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.819/2.819, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.89 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9479/0.9499, allocations: 168.7 MB / 1.274 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004821/0.9547, allocations: 2.497 MB / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003138/0.9579, allocations: 1.603 MB / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.9581, allocations: 0 / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.9591, allocations: 334.5 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005424/0.9597, allocations: 211.1 kB / 1.279 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007765/0.9604, allocations: 282.1 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005187/0.961, allocations: 382.8 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.9611, allocations: 48.67 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.9614, allocations: 163.3 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.9616, allocations: 179.1 kB / 1.28 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.707e-05/0.9617, allocations: 20 kB / 1.28 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.9619, allocations: 79.89 kB / 1.28 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.9621, allocations: 131.5 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.9623, allocations: 194.5 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007072/0.963, allocations: 0.4966 MB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.963, allocations: 0 / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.963, allocations: 0 / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.963, allocations: 0 / 1.28 GB, free: 13.93 MB / 0.9825 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.001444/0.9644, allocations: 0.8528 MB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.9645, allocations: 8.031 kB / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.9646, allocations: 64.56 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006554/0.9653, allocations: 441.5 kB / 1.282 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.9653, allocations: 15.88 kB / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.9653, allocations: 12 kB / 1.282 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.9656, allocations: 131.3 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.9656, allocations: 0 / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.9657, allocations: 4 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.9657, allocations: 15.92 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.9659, allocations: 67.95 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.9669, allocations: 0.5706 MB / 1.283 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.9672, allocations: 126.6 kB / 1.283 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.9674, allocations: 44.83 kB / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.9674, allocations: 0 / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00025/0.9676, allocations: 111.3 kB / 1.283 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.9676, allocations: 0 / 1.283 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005796/0.9682, allocations: 245.3 kB / 1.283 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.806e-05/0.9683, allocations: 77.11 kB / 1.283 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008381/0.9691, allocations: 0.6799 MB / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.9692, allocations: 33.69 kB / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.9694, allocations: 264.4 kB / 1.284 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.9695, allocations: 39.78 kB / 1.284 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.9696, allocations: 57.64 kB / 1.284 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000221/0.9698, allocations: 370.8 kB / 1.285 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.97, allocations: 75.91 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.9702, allocations: 123.3 kB / 1.285 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.9705, allocations: 136.9 kB / 1.285 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.9705, allocations: 7.938 kB / 1.285 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005089/0.971, allocations: 269.1 kB / 1.285 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.971, allocations: 8 kB / 1.285 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.971, allocations: 0 / 1.285 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.971, allocations: 0 / 1.285 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.9712, allocations: 35.92 kB / 1.285 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.9712, allocations: 4 kB / 1.285 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.9714, allocations: 23.88 kB / 1.285 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.9714, allocations: 12.06 kB / 1.285 GB, free: 8.785 MB / 0.9825 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.0002622/0.9716, allocations: 207.5 kB / 1.285 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/0.9717, allocations: 67.5 kB / 1.285 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004317/0.9722, allocations: 199.8 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.9722, allocations: 4 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.9722, allocations: 4 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.9722, allocations: 0 / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004006/0.9726, allocations: 377.3 kB / 1.286 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.9726, allocations: 3.938 kB / 1.286 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.9726, allocations: 11.94 kB / 1.286 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.9726, allocations: 3.984 kB / 1.286 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.9726, allocations: 0 / 1.286 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.9726, allocations: 4 kB / 1.286 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.9726, allocations: 0 / 1.286 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.973, allocations: 224.3 kB / 1.286 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.9732, allocations: 132.7 kB / 1.286 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.994e-05/0.9732, allocations: 11.98 kB / 1.286 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.9733, allocations: 4 kB / 1.286 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.9734, allocations: 19.97 kB / 1.286 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.9734, allocations: 8 kB / 1.286 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005692/0.974, allocations: 467 kB / 1.287 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.974, allocations: 0 / 1.287 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003247/0.9743, allocations: 67.92 kB / 1.287 GB, free: 6.906 MB / 0.9825 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 (13): * Single equations (assignments): 9 * 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.001632/0.9759, allocations: 447.6 kB / 1.287 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000383/0.9763, allocations: 141.8 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.9763, allocations: 0 / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.9765, allocations: 47.92 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005293/0.977, allocations: 93.64 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.9785, allocations: 0.8553 MB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005781/0.979, allocations: 0.8611 MB / 1.289 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001603/0.9792, allocations: 54.88 kB / 1.289 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.285e-05/0.9793, allocations: 35.42 kB / 1.289 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.9793, allocations: 0 / 1.289 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of Templates: time 0.01096/0.9902, allocations: 4.435 MB / 1.294 GB, free: 108 kB / 0.9825 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 gbode -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_2/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.151247832924128]