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.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.001428/0.001433, allocations: 104.1 kB / 17.07 MB, free: 6.016 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.001405/0.001405, allocations: 192.3 kB / 20.03 MB, free: 3.082 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.438/1.438, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.957/2.957, allocations: 491.4 MB / 0.7708 GB, free: 1.832 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 75.88 kB / 1.106 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.342, allocations: 164.3 MB / 1.266 GB, free: 14.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.00419/0.3462, allocations: 2.469 MB / 1.269 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002611/0.3489, allocations: 1.56 MB / 1.27 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.3491, allocations: 8 kB / 1.27 GB, free: 10.37 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.3502, allocations: 326.9 kB / 1.27 GB, free: 10.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004882/0.3507, allocations: 211.1 kB / 1.271 GB, free: 9.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000708/0.3514, allocations: 278.5 kB / 1.271 GB, free: 9.574 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004896/0.3519, allocations: 394.7 kB / 1.271 GB, free: 9.188 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001662/0.3521, allocations: 60.72 kB / 1.271 GB, free: 9.129 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.3523, allocations: 159.3 kB / 1.271 GB, free: 8.973 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.3525, allocations: 163.2 kB / 1.272 GB, free: 8.812 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.795e-05/0.3526, allocations: 20 kB / 1.272 GB, free: 8.793 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.3528, allocations: 79.94 kB / 1.272 GB, free: 8.715 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.353, allocations: 127.5 kB / 1.272 GB, free: 8.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001981/0.3532, allocations: 194.6 kB / 1.272 GB, free: 8.398 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006272/0.3538, allocations: 0.4938 MB / 1.272 GB, free: 7.902 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3538, allocations: 0 / 1.272 GB, free: 7.902 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3538, allocations: 4 kB / 1.272 GB, free: 7.898 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.3538, allocations: 4 kB / 1.272 GB, free: 7.895 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.001299/0.3552, allocations: 0.8528 MB / 1.273 GB, free: 6.984 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.3552, allocations: 12.03 kB / 1.273 GB, free: 6.973 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.3553, allocations: 60.55 kB / 1.273 GB, free: 6.914 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005719/0.3559, allocations: 441.4 kB / 1.274 GB, free: 6.445 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.3559, allocations: 7.938 kB / 1.274 GB, free: 6.438 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.356, allocations: 16 kB / 1.274 GB, free: 6.422 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.3563, allocations: 144 kB / 1.274 GB, free: 6.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3563, allocations: 0 / 1.274 GB, free: 6.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.3563, allocations: 0 / 1.274 GB, free: 6.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.3563, allocations: 7.938 kB / 1.274 GB, free: 6.262 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.3565, allocations: 71.95 kB / 1.274 GB, free: 6.191 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009034/0.3574, allocations: 0.5784 MB / 1.275 GB, free: 5.562 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.3578, allocations: 118.7 kB / 1.275 GB, free: 5.438 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.3579, allocations: 48.83 kB / 1.275 GB, free: 5.387 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.3579, allocations: 7.938 kB / 1.275 GB, free: 5.379 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.3582, allocations: 111.3 kB / 1.275 GB, free: 5.258 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.522e-06/0.3582, allocations: 0 / 1.275 GB, free: 5.258 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0005423/0.3587, allocations: 233.4 kB / 1.275 GB, free: 5.023 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.3588, allocations: 85.05 kB / 1.275 GB, free: 4.922 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000833/0.3597, allocations: 0.6838 MB / 1.276 GB, free: 4.227 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.3597, allocations: 33.7 kB / 1.276 GB, free: 4.188 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.36, allocations: 264.4 kB / 1.276 GB, free: 3.926 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.36, allocations: 35.72 kB / 1.276 GB, free: 3.891 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.3601, allocations: 65.64 kB / 1.276 GB, free: 3.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.3603, allocations: 366.8 kB / 1.277 GB, free: 3.453 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.3605, allocations: 75.89 kB / 1.277 GB, free: 3.379 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.3607, allocations: 128.6 kB / 1.277 GB, free: 3.238 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.361, allocations: 137.7 kB / 1.277 GB, free: 3.098 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.361, allocations: 3.938 kB / 1.277 GB, free: 3.094 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004824/0.3615, allocations: 273.2 kB / 1.277 GB, free: 2.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3615, allocations: 4 kB / 1.277 GB, free: 2.816 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3615, allocations: 4.062 kB / 1.277 GB, free: 2.812 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3616, allocations: 4 kB / 1.277 GB, free: 2.809 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.3617, allocations: 35.92 kB / 1.277 GB, free: 2.773 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3618, allocations: 0 / 1.277 GB, free: 2.773 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.3619, allocations: 23.88 kB / 1.277 GB, free: 2.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.362, allocations: 12 kB / 1.277 GB, free: 2.738 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.0002364/0.3622, allocations: 207.5 kB / 1.277 GB, free: 2.527 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.49e-05/0.3623, allocations: 67.55 kB / 1.278 GB, free: 2.461 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.3624, allocations: 60.98 kB / 1.278 GB, free: 2.395 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3624, allocations: 4 kB / 1.278 GB, free: 2.391 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3624, allocations: 0 / 1.278 GB, free: 2.391 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3624, allocations: 3.938 kB / 1.278 GB, free: 2.387 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.3628, allocations: 365.4 kB / 1.278 GB, free: 1.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.3628, allocations: 3.938 kB / 1.278 GB, free: 1.977 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.354e-05/0.3629, allocations: 11.94 kB / 1.278 GB, free: 1.965 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3629, allocations: 0 / 1.278 GB, free: 1.965 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.3629, allocations: 7.984 kB / 1.278 GB, free: 1.957 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3629, allocations: 0 / 1.278 GB, free: 1.957 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3629, allocations: 4 kB / 1.278 GB, free: 1.953 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.3633, allocations: 220.7 kB / 1.278 GB, free: 1.719 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.3634, allocations: 132.6 kB / 1.278 GB, free: 1.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.3635, allocations: 8 kB / 1.278 GB, free: 1.562 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.3636, allocations: 15.98 kB / 1.278 GB, free: 1.547 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.3637, allocations: 19.91 kB / 1.278 GB, free: 1.527 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.3637, allocations: 16 kB / 1.278 GB, free: 1.512 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005523/0.3643, allocations: 463 kB / 1.279 GB, free: 1.062 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3643, allocations: 0 / 1.279 GB, free: 1.062 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003202/0.3646, allocations: 67.92 kB / 1.279 GB, free: 0.9961 MB / 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 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * 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.001609/0.3662, allocations: 424.4 kB / 1.279 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00041/0.3666, allocations: 154.1 kB / 1.279 GB, free: 0.582 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.3667, allocations: 12.06 kB / 1.279 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.3668, allocations: 59.91 kB / 1.279 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.3673, allocations: 94.83 kB / 1.28 GB, free: 432 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5912/0.9585, allocations: 0.8764 MB / 1.28 GB, free: 48.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.9589, allocations: 0.8614 MB / 1.281 GB, free: 47.96 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.959, allocations: 31 kB / 1.281 GB, free: 47.96 MB / 1.061 GB Notification: Performance of SimCode: time 1.182e-06/0.959, allocations: 3.844 kB / 1.281 GB, free: 47.96 MB / 1.061 GB Notification: Performance of Templates: time 0.007486/0.9665, allocations: 5.745 MB / 1.287 GB, free: 47.26 MB / 1.061 GB " [Timeout remaining time 299] 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.56405798799824]