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.002005/0.002005, allocations: 110 kB / 18.93 MB, free: 2.945 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.003164/0.003164, allocations: 188.9 kB / 22.23 MB, free: 5.16 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.648/1.648, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.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.977/2.977, allocations: 476.7 MB / 0.7646 GB, free: 9.855 MB / 0.6231 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.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.00211/0.00211, allocations: 67.89 kB / 1.11 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.031, allocations: 168.8 MB / 1.274 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004795/1.035, allocations: 2.489 MB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002976/1.038, allocations: 1.603 MB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/1.039, allocations: 7.875 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/1.04, allocations: 334.9 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004926/1.04, allocations: 211.1 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007876/1.041, allocations: 282.5 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005533/1.041, allocations: 386.6 kB / 1.28 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/1.042, allocations: 52.84 kB / 1.28 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/1.042, allocations: 175.3 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/1.042, allocations: 171.2 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/1.042, allocations: 16 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000221/1.042, allocations: 79.89 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001783/1.043, allocations: 135.5 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002111/1.043, allocations: 190.6 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007107/1.044, allocations: 0.4962 MB / 1.281 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.044, allocations: 4 kB / 1.281 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.013e-06/1.044, allocations: 0 / 1.281 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.235e-06/1.044, allocations: 0 / 1.281 GB, free: 13.58 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.001428/1.045, allocations: 0.7814 MB / 1.282 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.045, allocations: 15.97 kB / 1.282 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/1.045, allocations: 60.55 kB / 1.282 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006281/1.046, allocations: 375.6 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/1.046, allocations: 11.94 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/1.046, allocations: 12 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/1.046, allocations: 137.5 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/1.046, allocations: 3.984 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/1.046, allocations: 11.98 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/1.046, allocations: 3.938 kB / 1.282 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/1.046, allocations: 63.97 kB / 1.282 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009522/1.047, allocations: 0.5462 MB / 1.283 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/1.048, allocations: 118.7 kB / 1.283 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/1.048, allocations: 44.84 kB / 1.283 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/1.048, allocations: 0 / 1.283 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002562/1.048, allocations: 114.2 kB / 1.283 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/1.048, allocations: 0 / 1.283 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005952/1.049, allocations: 241.3 kB / 1.283 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/1.049, allocations: 77.11 kB / 1.283 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008881/1.05, allocations: 0.6915 MB / 1.284 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/1.05, allocations: 29.7 kB / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/1.05, allocations: 268.4 kB / 1.284 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/1.05, allocations: 39.73 kB / 1.284 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/1.05, allocations: 53.66 kB / 1.284 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002084/1.05, allocations: 374.8 kB / 1.285 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/1.05, allocations: 67.97 kB / 1.285 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/1.051, allocations: 127.3 kB / 1.285 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/1.051, allocations: 140.7 kB / 1.285 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/1.051, allocations: 7.938 kB / 1.285 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004907/1.051, allocations: 269.1 kB / 1.285 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/1.051, allocations: 8 kB / 1.285 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/1.051, allocations: 0 / 1.285 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/1.051, allocations: 3.984 kB / 1.285 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/1.052, allocations: 35.92 kB / 1.285 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/1.052, allocations: 4 kB / 1.285 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/1.052, allocations: 19.94 kB / 1.285 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/1.052, allocations: 8 kB / 1.285 GB, free: 8.641 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.0002823/1.052, allocations: 215.5 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/1.052, allocations: 63.56 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004805/1.053, allocations: 198.6 kB / 1.286 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/1.053, allocations: 7.938 kB / 1.286 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.053, allocations: 0 / 1.286 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/1.053, allocations: 0 / 1.286 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004033/1.053, allocations: 344.5 kB / 1.286 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.053, allocations: 3.938 kB / 1.286 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/1.053, allocations: 11.94 kB / 1.286 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/1.053, allocations: 4 kB / 1.286 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/1.053, allocations: 3.984 kB / 1.286 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/1.053, allocations: 7.984 kB / 1.286 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.053, allocations: 0 / 1.286 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/1.054, allocations: 222.2 kB / 1.286 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/1.054, allocations: 55.5 kB / 1.286 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.269e-05/1.054, allocations: 8 kB / 1.286 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/1.054, allocations: 15.98 kB / 1.286 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/1.054, allocations: 20 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/1.054, allocations: 12 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005926/1.055, allocations: 467 kB / 1.287 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/1.055, allocations: 0 / 1.287 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003283/1.055, allocations: 67.92 kB / 1.287 GB, free: 6.875 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.001658/1.057, allocations: 430.7 kB / 1.287 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004021/1.057, allocations: 142.1 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.057, allocations: 0 / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/1.057, allocations: 47.92 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/1.058, allocations: 97.39 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/1.059, allocations: 0.8523 MB / 1.289 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005879/1.06, allocations: 0.865 MB / 1.289 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001333/1.06, allocations: 50.89 kB / 1.289 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.97e-05/1.06, allocations: 35.42 kB / 1.289 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/1.06, allocations: 0 / 1.289 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of Templates: time 0.01115/1.071, allocations: 4.45 MB / 1.294 GB, free: 64 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 -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/jenkins/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: 10.011735470034182]