Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.0014/0.0014, allocations: 81.55 kB / 19.76 MB, free: 2.027 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.001584/0.001584, allocations: 158.8 kB / 23.01 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.426/1.426, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.852/2.852, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 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.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [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.002165/0.002165, allocations: 67.88 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8467/0.8489, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003286/0.8522, allocations: 2.375 MB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.8543, allocations: 1.564 MB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.8545, allocations: 7.406 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005899/0.8551, allocations: 215.2 kB / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004455/0.8555, allocations: 206.3 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.8558, allocations: 153.7 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000394/0.8562, allocations: 363.2 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.8564, allocations: 56.59 kB / 1.191 GB, free: 13.08 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.8566, allocations: 149.5 kB / 1.192 GB, free: 13 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.8568, allocations: 163.2 kB / 1.192 GB, free: 12.93 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.719e-05/0.8568, allocations: 22.47 kB / 1.192 GB, free: 12.93 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.8569, allocations: 62.73 kB / 1.192 GB, free: 12.92 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.8571, allocations: 133.5 kB / 1.192 GB, free: 12.86 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.8572, allocations: 137.6 kB / 1.192 GB, free: 12.77 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006043/0.8578, allocations: 0.5224 MB / 1.193 GB, free: 12.55 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.8578, allocations: 1.609 kB / 1.193 GB, free: 12.55 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8578, allocations: 4 kB / 1.193 GB, free: 12.55 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.375e-06/0.8578, allocations: 0 / 1.193 GB, free: 12.55 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001102/0.8589, allocations: 0.7494 MB / 1.193 GB, free: 11.97 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.859, allocations: 10.23 kB / 1.193 GB, free: 11.97 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.218e-05/0.8591, allocations: 63.61 kB / 1.193 GB, free: 11.94 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.8595, allocations: 371.7 kB / 1.194 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.8596, allocations: 18.44 kB / 1.194 GB, free: 11.65 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.8596, allocations: 21.08 kB / 1.194 GB, free: 11.64 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.8599, allocations: 180.3 kB / 1.194 GB, free: 11.52 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.8599, allocations: 1.344 kB / 1.194 GB, free: 11.52 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.8599, allocations: 5.281 kB / 1.194 GB, free: 11.51 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.8599, allocations: 2.656 kB / 1.194 GB, free: 11.51 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.8601, allocations: 96.77 kB / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008782/0.861, allocations: 0.5331 MB / 1.195 GB, free: 11.14 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.8613, allocations: 132.2 kB / 1.195 GB, free: 11.07 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.922e-05/0.8614, allocations: 44.86 kB / 1.195 GB, free: 11.05 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.8614, allocations: 1.094 kB / 1.195 GB, free: 11.05 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.8616, allocations: 157.4 kB / 1.195 GB, free: 10.91 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.8616, allocations: 1.062 kB / 1.195 GB, free: 10.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0004292/0.8621, allocations: 213.9 kB / 1.195 GB, free: 10.81 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/0.8621, allocations: 57.59 kB / 1.195 GB, free: 10.74 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007273/0.8628, allocations: 0.6684 MB / 1.196 GB, free: 10.47 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.8628, allocations: 29.34 kB / 1.196 GB, free: 10.44 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.863, allocations: 262 kB / 1.196 GB, free: 10.23 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/0.863, allocations: 42.44 kB / 1.196 GB, free: 10.2 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.8631, allocations: 56.88 kB / 1.196 GB, free: 10.16 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.654e-05/0.8632, allocations: 369.1 kB / 1.197 GB, free: 9.824 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.8633, allocations: 80.64 kB / 1.197 GB, free: 9.797 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.8635, allocations: 166.2 kB / 1.197 GB, free: 9.672 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.8637, allocations: 135.3 kB / 1.197 GB, free: 9.605 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8637, allocations: 0 / 1.197 GB, free: 9.605 MB / 1.076 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003882/0.8641, allocations: 275.2 kB / 1.197 GB, free: 9.48 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.8641, allocations: 5.719 kB / 1.197 GB, free: 9.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.8641, allocations: 4.453 kB / 1.197 GB, free: 9.477 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.8641, allocations: 1.125 kB / 1.197 GB, free: 9.477 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.8643, allocations: 41.64 kB / 1.197 GB, free: 9.469 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.8643, allocations: 2.406 kB / 1.197 GB, free: 9.469 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.8645, allocations: 30.02 kB / 1.197 GB, free: 9.457 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.8645, allocations: 10.25 kB / 1.197 GB, free: 9.453 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001835/0.8647, allocations: 205.9 kB / 1.197 GB, free: 9.305 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.8648, allocations: 56.28 kB / 1.197 GB, free: 9.273 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003438/0.8651, allocations: 193.2 kB / 1.198 GB, free: 9.176 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.8651, allocations: 2.266 kB / 1.198 GB, free: 9.176 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.8651, allocations: 1.281 kB / 1.198 GB, free: 9.176 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.8651, allocations: 0.7031 kB / 1.198 GB, free: 9.176 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.8655, allocations: 295.3 kB / 1.198 GB, free: 8.984 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.8655, allocations: 7.938 kB / 1.198 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.092e-05/0.8655, allocations: 10.94 kB / 1.198 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.8655, allocations: 1.438 kB / 1.198 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.8656, allocations: 3.172 kB / 1.198 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.8656, allocations: 1.25 kB / 1.198 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8656, allocations: 0 / 1.198 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000451/0.866, allocations: 272.1 kB / 1.198 GB, free: 8.82 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.106e-05/0.8661, allocations: 55.09 kB / 1.198 GB, free: 8.785 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.413e-05/0.8662, allocations: 7.219 kB / 1.198 GB, free: 8.781 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.8663, allocations: 16.36 kB / 1.198 GB, free: 8.777 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.8664, allocations: 22.47 kB / 1.198 GB, free: 8.773 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.8664, allocations: 4.875 kB / 1.198 GB, free: 8.773 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006896/0.8671, allocations: 445.4 kB / 1.199 GB, free: 8.594 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8671, allocations: 0 / 1.199 GB, free: 8.594 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003607/0.8675, allocations: 65.7 kB / 1.199 GB, free: 8.578 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001653/0.8691, allocations: 460.8 kB / 1.199 GB, free: 8.367 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003358/0.8695, allocations: 152.3 kB / 1.199 GB, free: 8.316 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.8695, allocations: 1.188 kB / 1.199 GB, free: 8.316 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.8696, allocations: 52.42 kB / 1.199 GB, free: 8.301 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/0.87, allocations: 80.05 kB / 1.2 GB, free: 8.262 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.8713, allocations: 0.8525 MB / 1.2 GB, free: 7.793 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.8716, allocations: 255.1 kB / 1.201 GB, free: 7.691 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.8717, allocations: 41.89 kB / 1.201 GB, free: 7.691 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.016e-05/0.8718, allocations: 33.23 kB / 1.201 GB, free: 7.68 MB / 1.076 GB Notification: Performance of SimCode: time 6.02e-07/0.8718, allocations: 0 / 1.201 GB, free: 7.68 MB / 1.076 GB Notification: Performance of Templates: time 0.01174/0.8835, allocations: 4.207 MB / 1.205 GB, free: 7.148 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.872107699047774]