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.0009937/0.0009937, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 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.001094/0.001094, allocations: 177 kB / 23.36 MB, free: 1.137 MB / 18.57 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.007/1.007, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 2.49/2.49, allocations: 438.8 MB / 0.6827 GB, free: 13.54 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.371e-05, allocations: 8.984 kB / 0.8386 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.00747/0.007494, allocations: 2.542 MB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003115/0.01061, allocations: 1.712 MB / 0.8428 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002596/0.01087, allocations: 7.938 kB / 0.8428 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.01189, allocations: 318.7 kB / 0.8431 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0006502/0.01254, allocations: 274.6 kB / 0.8434 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005817/0.01312, allocations: 207.3 kB / 0.8436 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005963/0.01372, allocations: 414.5 kB / 0.844 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.01388, allocations: 50.86 kB / 0.844 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008106/0.01469, allocations: 256.8 kB / 0.8443 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.01493, allocations: 139.6 kB / 0.8444 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.543e-05/0.01497, allocations: 20 kB / 0.8444 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.01519, allocations: 83.83 kB / 0.8445 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.01534, allocations: 135.5 kB / 0.8446 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.01545, allocations: 99.52 kB / 0.8447 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000423/0.01587, allocations: 350.5 kB / 0.8451 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.01588, allocations: 4 kB / 0.8451 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.252e-06/0.01588, allocations: 0 / 0.8451 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.01588, allocations: 0 / 0.8451 GB, free: 7.523 MB / 0.8073 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.0007616/0.01665, allocations: 0.7487 MB / 0.8458 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.01668, allocations: 8.625 kB / 0.8458 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.933e-05/0.01675, allocations: 44.83 kB / 0.8458 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.01714, allocations: 355.2 kB / 0.8462 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.01717, allocations: 8.562 kB / 0.8462 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.01718, allocations: 12.31 kB / 0.8462 GB, free: 6.297 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.01734, allocations: 124.1 kB / 0.8463 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.01735, allocations: 3.938 kB / 0.8463 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.01736, allocations: 7.984 kB / 0.8463 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.01737, allocations: 4 kB / 0.8463 GB, free: 6.148 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.535e-05/0.01741, allocations: 27.97 kB / 0.8464 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.01784, allocations: 297.7 kB / 0.8466 GB, free: 5.812 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.01797, allocations: 113.3 kB / 0.8468 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.018, allocations: 32.84 kB / 0.8468 GB, free: 5.656 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.01801, allocations: 4 kB / 0.8468 GB, free: 5.652 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.01814, allocations: 119.8 kB / 0.8469 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.01814, allocations: 0 / 0.8469 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0001734/0.01832, allocations: 117.4 kB / 0.847 GB, free: 5.398 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.01834, allocations: 51.41 kB / 0.8471 GB, free: 5.336 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.01873, allocations: 0.5641 MB / 0.8476 GB, free: 4.758 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.01875, allocations: 33.7 kB / 0.8476 GB, free: 4.719 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.221e-05/0.01883, allocations: 162.4 kB / 0.8478 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.01887, allocations: 47.7 kB / 0.8478 GB, free: 4.508 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.01893, allocations: 53.67 kB / 0.8479 GB, free: 4.449 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.01904, allocations: 378.6 kB / 0.8483 GB, free: 4.07 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-05/0.01907, allocations: 18.83 kB / 0.8483 GB, free: 4.051 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.479e-05/0.01914, allocations: 119.6 kB / 0.8484 GB, free: 3.906 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.436e-05/0.01923, allocations: 74.23 kB / 0.8485 GB, free: 3.824 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.01923, allocations: 3.938 kB / 0.8485 GB, free: 3.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001488/0.01938, allocations: 146.2 kB / 0.8486 GB, free: 3.672 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.01939, allocations: 8 kB / 0.8486 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.0194, allocations: 0 / 0.8486 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.01941, allocations: 0 / 0.8486 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.01952, allocations: 43.91 kB / 0.8487 GB, free: 3.621 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.01952, allocations: 4 kB / 0.8487 GB, free: 3.617 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.609e-05/0.0196, allocations: 19.89 kB / 0.8487 GB, free: 3.598 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.01962, allocations: 7.984 kB / 0.8487 GB, free: 3.59 MB / 0.8073 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.000109/0.01972, allocations: 138.5 kB / 0.8488 GB, free: 3.441 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.01976, allocations: 36.02 kB / 0.8488 GB, free: 3.406 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.01992, allocations: 133.2 kB / 0.849 GB, free: 3.27 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01992, allocations: 0 / 0.849 GB, free: 3.27 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01992, allocations: 3.938 kB / 0.849 GB, free: 3.266 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.01993, allocations: 3.984 kB / 0.849 GB, free: 3.262 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.02009, allocations: 185.6 kB / 0.8492 GB, free: 3.062 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.02009, allocations: 0 / 0.8492 GB, free: 3.062 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.092e-05/0.02012, allocations: 12 kB / 0.8492 GB, free: 3.051 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.02012, allocations: 3.938 kB / 0.8492 GB, free: 3.047 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.02013, allocations: 11.98 kB / 0.8492 GB, free: 3.035 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.02014, allocations: 8 kB / 0.8492 GB, free: 3.027 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.02014, allocations: 0 / 0.8492 GB, free: 3.027 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.02026, allocations: 134.6 kB / 0.8493 GB, free: 2.875 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.0203, allocations: 59.5 kB / 0.8494 GB, free: 2.816 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.02033, allocations: 3.984 kB / 0.8494 GB, free: 2.812 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.317e-05/0.02039, allocations: 15.98 kB / 0.8494 GB, free: 2.797 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.04e-05/0.02044, allocations: 19.95 kB / 0.8494 GB, free: 2.777 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.02045, allocations: 4 kB / 0.8494 GB, free: 2.773 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002046/0.02065, allocations: 271.4 kB / 0.8497 GB, free: 2.508 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.02065, allocations: 0 / 0.8497 GB, free: 2.508 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002151/0.02087, allocations: 71.89 kB / 0.8497 GB, free: 2.438 MB / 0.8073 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.001214/0.02208, allocations: 0.5154 MB / 0.8503 GB, free: 2.148 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001547/0.02224, allocations: 84.25 kB / 0.8503 GB, free: 2.066 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.02225, allocations: 4 kB / 0.8503 GB, free: 2.062 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.473e-05/0.0223, allocations: 51.52 kB / 0.8504 GB, free: 2.012 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.02257, allocations: 104.9 kB / 0.8505 GB, free: 1.914 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009199/0.02349, allocations: 0.7426 MB / 0.8512 GB, free: 1.133 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.486e-05/0.02357, allocations: 136.2 kB / 0.8513 GB, free: 0.9805 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.407e-05/0.02367, allocations: 38.95 kB / 0.8514 GB, free: 0.9453 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.02381, allocations: 111.3 kB / 0.8515 GB, free: 0.8359 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.02381, allocations: 0 / 0.8515 GB, free: 0.8359 MB / 0.8073 GB Notification: Performance of Templates: time 0.008158/0.03196, allocations: 4.979 MB / 0.8563 GB, free: 11.95 MB / 0.823 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.547839293256402]