Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001494/0.001494, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002748/0.002748, allocations: 222.6 kB / 22.25 MB, free: 5.109 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.644/1.644, allocations: 230.6 MB / 256 MB, free: 7.805 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 3.118/3.118, allocations: 475.9 MB / 0.7699 GB, free: 4.762 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.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_11_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_11_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.002129/0.002129, allocations: 69.44 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4507/0.4529, allocations: 169.9 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004962/0.4578, allocations: 2.376 MB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003268/0.4611, allocations: 1.56 MB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000252/0.4614, allocations: 7.938 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008104/0.4622, allocations: 218.9 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000567/0.4627, allocations: 199.1 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.4632, allocations: 159.5 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005089/0.4637, allocations: 370.8 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.4639, allocations: 56.89 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.4641, allocations: 151.3 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.4643, allocations: 147.2 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.126e-05/0.4644, allocations: 24 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.4646, allocations: 59.97 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.4647, allocations: 127.5 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.4649, allocations: 154.8 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007578/0.4657, allocations: 0.5132 MB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4657, allocations: 8 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4657, allocations: 0 / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.4657, allocations: 0 / 1.289 GB, free: 5.836 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001469/0.4672, allocations: 0.7543 MB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.4672, allocations: 8.031 kB / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.4673, allocations: 68.52 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006821/0.468, allocations: 371.4 kB / 1.29 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.468, allocations: 16.36 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/0.4681, allocations: 19.94 kB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.4685, allocations: 177 kB / 1.29 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.4685, allocations: 7.938 kB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.4685, allocations: 4 kB / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.4686, allocations: 4 kB / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.4688, allocations: 88.66 kB / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.4699, allocations: 0.5234 MB / 1.291 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.4702, allocations: 130.7 kB / 1.291 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.4703, allocations: 48.81 kB / 1.291 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.4704, allocations: 3.984 kB / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000287/0.4706, allocations: 158.7 kB / 1.291 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.492e-06/0.4706, allocations: 4 kB / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0005258/0.4712, allocations: 205.6 kB / 1.291 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.4712, allocations: 59.41 kB / 1.292 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009011/0.4721, allocations: 0.6719 MB / 1.292 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.4722, allocations: 33.7 kB / 1.292 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.4725, allocations: 260.4 kB / 1.292 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.4725, allocations: 35.73 kB / 1.293 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.4726, allocations: 65.52 kB / 1.293 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000322/0.4729, allocations: 366.8 kB / 1.293 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.4731, allocations: 79.97 kB / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.4733, allocations: 165.2 kB / 1.293 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.4736, allocations: 136.5 kB / 1.293 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4736, allocations: 0 / 1.293 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000459/0.474, allocations: 279.5 kB / 1.294 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4741, allocations: 4 kB / 1.294 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.4741, allocations: 0 / 1.294 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/0.4741, allocations: 3.984 kB / 1.294 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.4743, allocations: 35.92 kB / 1.294 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.4743, allocations: 4 kB / 1.294 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.4745, allocations: 27.95 kB / 1.294 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.4745, allocations: 7.984 kB / 1.294 GB, free: 0.8438 MB / 0.9825 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.000268/0.4748, allocations: 209.7 kB / 1.294 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/0.4748, allocations: 55.62 kB / 1.294 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/0.4752, allocations: 186.4 kB / 1.294 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.4753, allocations: 4 kB / 1.294 GB, free: 392 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4753, allocations: 0 / 1.294 GB, free: 392 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4753, allocations: 0 / 1.294 GB, free: 392 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.4756, allocations: 293.1 kB / 1.294 GB, free: 68 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4756, allocations: 7.938 kB / 1.294 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.521e-05/0.4757, allocations: 11.94 kB / 1.294 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4757, allocations: 0 / 1.294 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.4757, allocations: 7.984 kB / 1.294 GB, free: 40 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.4757, allocations: 4 kB / 1.294 GB, free: 36 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4757, allocations: 0 / 1.294 GB, free: 36 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005125/0.4762, allocations: 266.6 kB / 1.295 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.4763, allocations: 63.53 kB / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.4764, allocations: 4 kB / 1.295 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.4765, allocations: 12.05 kB / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.777e-05/0.4766, allocations: 31.89 kB / 1.295 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.4766, allocations: 7.938 kB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000577/0.4772, allocations: 447 kB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.4772, allocations: 0 / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002972/0.4775, allocations: 63.94 kB / 1.295 GB, free: 15.15 MB / 0.9981 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.001739/0.4792, allocations: 445.9 kB / 1.296 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003875/0.4796, allocations: 155.9 kB / 1.296 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4796, allocations: 0 / 1.296 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.4797, allocations: 55.91 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.4802, allocations: 89.25 kB / 1.296 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.4818, allocations: 0.8488 MB / 1.297 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.4821, allocations: 258.5 kB / 1.297 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001449/0.4822, allocations: 38.97 kB / 1.297 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.147e-05/0.4823, allocations: 39.36 kB / 1.297 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/0.4823, allocations: 0 / 1.297 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of Templates: time 0.01204/0.4943, allocations: 4.654 MB / 1.302 GB, free: 8.785 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.481054013594985]