Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001782/0.001782, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002242/0.002242, allocations: 216.5 kB / 22.99 MB, free: 4.945 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.282/3.282, allocations: 0.5107 GB / 0.8166 GB, free: 17.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002128/0.002128, allocations: 64.7 kB / 1.187 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3562, allocations: 181.9 MB / 1.365 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004325/0.3606, allocations: 2.418 MB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002991/0.3635, allocations: 1.61 MB / 1.369 GB, free: 9.477 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.3637, allocations: 11.88 kB / 1.369 GB, free: 9.465 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009889/0.3647, allocations: 322.7 kB / 1.369 GB, free: 9.148 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000623/0.3653, allocations: 270.8 kB / 1.369 GB, free: 8.883 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005467/0.3659, allocations: 209.9 kB / 1.369 GB, free: 8.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004995/0.3664, allocations: 410.6 kB / 1.37 GB, free: 8.277 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.3665, allocations: 52.78 kB / 1.37 GB, free: 8.219 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.3668, allocations: 171.3 kB / 1.37 GB, free: 8.051 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.367, allocations: 171.1 kB / 1.37 GB, free: 7.883 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.246e-05/0.367, allocations: 20 kB / 1.37 GB, free: 7.863 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.3673, allocations: 83.94 kB / 1.37 GB, free: 7.781 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.3674, allocations: 135.5 kB / 1.37 GB, free: 7.648 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.3676, allocations: 142.9 kB / 1.37 GB, free: 7.508 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000631/0.3682, allocations: 0.517 MB / 1.371 GB, free: 6.988 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3682, allocations: 8 kB / 1.371 GB, free: 6.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3682, allocations: 0 / 1.371 GB, free: 6.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.3682, allocations: 0 / 1.371 GB, free: 6.98 MB / 1.061 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.001323/0.3695, allocations: 0.7814 MB / 1.372 GB, free: 6.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3696, allocations: 19.95 kB / 1.372 GB, free: 6.141 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.3697, allocations: 56.56 kB / 1.372 GB, free: 6.086 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00062/0.3703, allocations: 383.4 kB / 1.372 GB, free: 5.684 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.3703, allocations: 16.06 kB / 1.372 GB, free: 5.668 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.3704, allocations: 15.98 kB / 1.372 GB, free: 5.652 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.3706, allocations: 140.3 kB / 1.372 GB, free: 5.504 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3707, allocations: 0 / 1.372 GB, free: 5.504 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.3707, allocations: 8 kB / 1.372 GB, free: 5.496 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3707, allocations: 0 / 1.372 GB, free: 5.496 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.3709, allocations: 79.89 kB / 1.372 GB, free: 5.418 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008922/0.3718, allocations: 0.4924 MB / 1.373 GB, free: 4.895 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.3721, allocations: 130.7 kB / 1.373 GB, free: 4.758 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.3722, allocations: 44.84 kB / 1.373 GB, free: 4.711 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.3722, allocations: 0 / 1.373 GB, free: 4.711 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/0.3725, allocations: 137 kB / 1.373 GB, free: 4.559 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.3725, allocations: 0 / 1.373 GB, free: 4.559 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0005569/0.373, allocations: 253.1 kB / 1.373 GB, free: 4.305 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.3731, allocations: 59.34 kB / 1.373 GB, free: 4.234 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008425/0.3739, allocations: 0.7034 MB / 1.374 GB, free: 3.523 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.374, allocations: 37.7 kB / 1.374 GB, free: 3.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/0.3742, allocations: 268.4 kB / 1.374 GB, free: 3.215 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.3743, allocations: 39.72 kB / 1.375 GB, free: 3.176 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3744, allocations: 61.64 kB / 1.375 GB, free: 3.109 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.3746, allocations: 370.8 kB / 1.375 GB, free: 2.738 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.3747, allocations: 71.97 kB / 1.375 GB, free: 2.668 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.3749, allocations: 174.9 kB / 1.375 GB, free: 2.473 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.3752, allocations: 152.1 kB / 1.375 GB, free: 2.316 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3752, allocations: 0 / 1.375 GB, free: 2.316 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004646/0.3757, allocations: 283.8 kB / 1.376 GB, free: 2.035 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3757, allocations: 4 kB / 1.376 GB, free: 2.031 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3757, allocations: 3.938 kB / 1.376 GB, free: 2.027 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.3757, allocations: 4 kB / 1.376 GB, free: 2.023 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.3759, allocations: 39.91 kB / 1.376 GB, free: 1.984 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.3759, allocations: 4 kB / 1.376 GB, free: 1.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.3761, allocations: 27.94 kB / 1.376 GB, free: 1.953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.3761, allocations: 8 kB / 1.376 GB, free: 1.945 MB / 1.061 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.0002319/0.3763, allocations: 211.5 kB / 1.376 GB, free: 1.73 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.3764, allocations: 59.58 kB / 1.376 GB, free: 1.672 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/0.3768, allocations: 222.7 kB / 1.376 GB, free: 1.445 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.3768, allocations: 4 kB / 1.376 GB, free: 1.441 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3768, allocations: 0 / 1.376 GB, free: 1.441 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.3769, allocations: 3.984 kB / 1.376 GB, free: 1.438 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.3772, allocations: 289.1 kB / 1.376 GB, free: 1.125 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3772, allocations: 4 kB / 1.376 GB, free: 1.121 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/0.3772, allocations: 15.94 kB / 1.376 GB, free: 1.105 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3772, allocations: 0 / 1.376 GB, free: 1.105 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.3772, allocations: 7.984 kB / 1.376 GB, free: 1.098 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.922e-06/0.3773, allocations: 7.938 kB / 1.376 GB, free: 1.09 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3773, allocations: 0 / 1.376 GB, free: 1.09 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.3776, allocations: 236.6 kB / 1.377 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.3778, allocations: 59.55 kB / 1.377 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.237e-05/0.3778, allocations: 8 kB / 1.377 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.3779, allocations: 15.86 kB / 1.377 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.18e-05/0.378, allocations: 23.97 kB / 1.377 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.378, allocations: 4 kB / 1.377 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005913/0.3786, allocations: 487 kB / 1.377 GB, free: 268 kB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3786, allocations: 0 / 1.377 GB, free: 268 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003267/0.3789, allocations: 67.89 kB / 1.377 GB, free: 200 kB / 1.061 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.00174/0.3807, allocations: 464.2 kB / 1.378 GB, free: 15.92 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004107/0.3811, allocations: 155.8 kB / 1.378 GB, free: 15.77 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3811, allocations: 0 / 1.378 GB, free: 15.77 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.3812, allocations: 59.91 kB / 1.378 GB, free: 15.71 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005539/0.3818, allocations: 104.3 kB / 1.378 GB, free: 15.61 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.3833, allocations: 0.9243 MB / 1.379 GB, free: 14.65 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.3836, allocations: 266.7 kB / 1.379 GB, free: 14.37 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.2e-05/0.3837, allocations: 35.42 kB / 1.379 GB, free: 14.33 MB / 1.076 GB Notification: Performance of SimCode: time 4.7e-07/0.3837, allocations: 0 / 1.379 GB, free: 14.33 MB / 1.076 GB Notification: Performance of Templates: time 0.01013/0.3938, allocations: 6.099 MB / 1.385 GB, free: 8.242 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.348954967688769]