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.001514/0.001514, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001549/0.001549, allocations: 194.8 kB / 22.17 MB, free: 5.656 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.454/1.454, allocations: 225.6 MB / 250.9 MB, free: 13.31 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.816/2.816, 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.002099/0.002099, allocations: 67.89 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.85/0.8521, allocations: 168.7 MB / 1.274 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004239/0.8564, allocations: 2.493 MB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002735/0.8591, allocations: 1.599 MB / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.8592, allocations: 7.938 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000918/0.8602, allocations: 326.8 kB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004801/0.8606, allocations: 215.1 kB / 1.279 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006603/0.8613, allocations: 274.7 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004725/0.8618, allocations: 386.8 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.8619, allocations: 44.67 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.8621, allocations: 171.3 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.8624, allocations: 175.2 kB / 1.28 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.8624, allocations: 20 kB / 1.28 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.8626, allocations: 79.88 kB / 1.28 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.8627, allocations: 127.5 kB / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.8629, allocations: 190.5 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006215/0.8636, allocations: 0.5082 MB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8636, allocations: 0 / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8636, allocations: 0 / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.8636, allocations: 0 / 1.28 GB, free: 13.98 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.001317/0.8649, allocations: 0.8489 MB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.8649, allocations: 8.031 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.865, allocations: 60.56 kB / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000616/0.8657, allocations: 449.4 kB / 1.282 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.8657, allocations: 7.938 kB / 1.282 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.8657, allocations: 12 kB / 1.282 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.866, allocations: 135.3 kB / 1.282 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.866, allocations: 4 kB / 1.282 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.866, allocations: 3.984 kB / 1.282 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.866, allocations: 7.938 kB / 1.282 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.8662, allocations: 75.89 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009198/0.8671, allocations: 0.5628 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.8675, allocations: 118.8 kB / 1.283 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.8676, allocations: 48.83 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.8676, allocations: 7.938 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.8678, allocations: 111.3 kB / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.8678, allocations: 0 / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005525/0.8684, allocations: 234.9 kB / 1.283 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.8685, allocations: 89.05 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008354/0.8693, allocations: 0.6799 MB / 1.284 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.8693, allocations: 37.69 kB / 1.284 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.8696, allocations: 268.3 kB / 1.284 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.284e-05/0.8696, allocations: 27.8 kB / 1.284 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.946e-05/0.8697, allocations: 65.64 kB / 1.284 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.8699, allocations: 366.8 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.8701, allocations: 75.91 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.8703, allocations: 123.7 kB / 1.285 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.8706, allocations: 129.2 kB / 1.285 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.8706, allocations: 3.938 kB / 1.285 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004954/0.8711, allocations: 278.8 kB / 1.285 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.8711, allocations: 4 kB / 1.285 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.8711, allocations: 3.938 kB / 1.285 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.8711, allocations: 4 kB / 1.285 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.8713, allocations: 35.98 kB / 1.285 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.8713, allocations: 0 / 1.285 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.8715, allocations: 23.88 kB / 1.285 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.8715, allocations: 8 kB / 1.285 GB, free: 8.852 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.0002369/0.8718, allocations: 219.5 kB / 1.285 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.112e-05/0.8718, allocations: 59.56 kB / 1.285 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004208/0.8723, allocations: 210.6 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.8723, allocations: 0 / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.8723, allocations: 0 / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.8723, allocations: 0 / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.8727, allocations: 373.3 kB / 1.286 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.8727, allocations: 11.88 kB / 1.286 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.8727, allocations: 11.98 kB / 1.286 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8727, allocations: 0 / 1.286 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.8727, allocations: 4 kB / 1.286 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8727, allocations: 0 / 1.286 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8727, allocations: 0 / 1.286 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.8731, allocations: 231.4 kB / 1.286 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.8732, allocations: 132.7 kB / 1.286 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.175e-05/0.8733, allocations: 3.984 kB / 1.286 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.8734, allocations: 16 kB / 1.286 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.8735, allocations: 20.02 kB / 1.286 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.8735, allocations: 7.984 kB / 1.286 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005296/0.874, allocations: 467 kB / 1.287 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.874, allocations: 0 / 1.287 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003184/0.8743, allocations: 67.92 kB / 1.287 GB, free: 6.953 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.001598/0.8759, allocations: 436.2 kB / 1.287 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003689/0.8763, allocations: 147.8 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8763, allocations: 0 / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.8764, allocations: 47.92 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.8769, allocations: 90.22 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.8783, allocations: 0.8542 MB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005307/0.8788, allocations: 0.865 MB / 1.289 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001361/0.879, allocations: 50.95 kB / 1.289 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.354e-05/0.879, allocations: 31.42 kB / 1.289 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of SimCode: time 8.32e-07/0.879, allocations: 0 / 1.289 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of Templates: time 0.01094/0.89, allocations: 4.422 MB / 1.294 GB, free: 176 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 cvode -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: 8.888606215361506]