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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009681/0.009682, allocations: 99.88 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 185.3 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.938/2.938, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 63.91 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3404, allocations: 157.4 MB / 1.208 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004265/0.3447, allocations: 2.444 MB / 1.21 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002702/0.3475, allocations: 1.49 MB / 1.212 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003321/0.3478, allocations: 7.938 kB / 1.212 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000692/0.3485, allocations: 231.1 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000442/0.349, allocations: 155.2 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005666/0.3496, allocations: 189.3 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005805/0.3502, allocations: 350.9 kB / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.3504, allocations: 96.67 kB / 1.213 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.3508, allocations: 147.3 kB / 1.213 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.351, allocations: 151.3 kB / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.646e-05/0.3511, allocations: 20 kB / 1.213 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.3513, allocations: 71.89 kB / 1.213 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.3514, allocations: 123.5 kB / 1.213 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.3516, allocations: 198.5 kB / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006446/0.3523, allocations: 0.4904 MB / 1.214 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.3523, allocations: 4 kB / 1.214 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.046e-06/0.3523, allocations: 0 / 1.214 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.551e-05/0.3523, allocations: 7.938 kB / 1.214 GB, free: 3.461 MB / 0.9669 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.001278/0.3536, allocations: 0.8045 MB / 1.215 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3537, allocations: 8.625 kB / 1.215 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.3538, allocations: 60.19 kB / 1.215 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006159/0.3544, allocations: 427.8 kB / 1.215 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.3544, allocations: 8.375 kB / 1.215 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.3545, allocations: 19.94 kB / 1.215 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.3548, allocations: 133.6 kB / 1.215 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3548, allocations: 0 / 1.215 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.3548, allocations: 8 kB / 1.215 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3548, allocations: 4 kB / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.355, allocations: 75.97 kB / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.3562, allocations: 0.6445 MB / 1.216 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003993/0.3566, allocations: 130.7 kB / 1.216 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.3567, allocations: 52.84 kB / 1.216 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.3568, allocations: 0 / 1.216 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002182/0.357, allocations: 111.2 kB / 1.216 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.733e-06/0.357, allocations: 0 / 1.216 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0004806/0.3575, allocations: 208.9 kB / 1.216 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.3575, allocations: 55.39 kB / 1.216 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007446/0.3583, allocations: 0.6436 MB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.3583, allocations: 33.7 kB / 1.217 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.3585, allocations: 256.4 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.3586, allocations: 39.53 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.08e-05/0.3587, allocations: 53.7 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3589, allocations: 374.7 kB / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.359, allocations: 75.91 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.3592, allocations: 119.4 kB / 1.218 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.3594, allocations: 130.2 kB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3594, allocations: 0 / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004521/0.3599, allocations: 270.6 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3599, allocations: 4 kB / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3599, allocations: 0 / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3599, allocations: 0 / 1.218 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.3601, allocations: 43.98 kB / 1.218 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3601, allocations: 4 kB / 1.218 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.3603, allocations: 31.75 kB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.3604, allocations: 12 kB / 1.218 GB, free: 14.42 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.0002156/0.3606, allocations: 205.7 kB / 1.219 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.3606, allocations: 51.34 kB / 1.219 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.419e-05/0.3607, allocations: 56.66 kB / 1.219 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3608, allocations: 7.938 kB / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3608, allocations: 3.938 kB / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3608, allocations: 3.984 kB / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004023/0.3612, allocations: 381.2 kB / 1.219 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3612, allocations: 0 / 1.219 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.286e-05/0.3613, allocations: 12 kB / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.3613, allocations: 3.984 kB / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.3613, allocations: 4 kB / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3613, allocations: 0 / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3613, allocations: 0 / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/0.3618, allocations: 260.3 kB / 1.219 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.3619, allocations: 124.4 kB / 1.219 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.91e-05/0.362, allocations: 8 kB / 1.219 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.3621, allocations: 15.92 kB / 1.219 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/0.3622, allocations: 19.97 kB / 1.22 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.3622, allocations: 11.98 kB / 1.22 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004973/0.3627, allocations: 426.8 kB / 1.22 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3627, allocations: 4.062 kB / 1.22 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000316/0.363, allocations: 67.84 kB / 1.22 GB, free: 12.69 MB / 0.9825 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 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.00101/0.3641, allocations: 425.6 kB / 1.22 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003419/0.3644, allocations: 159.8 kB / 1.221 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3644, allocations: 0 / 1.221 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.3646, allocations: 59.91 kB / 1.221 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.365, allocations: 80.03 kB / 1.221 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.3665, allocations: 0.8256 MB / 1.221 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.3669, allocations: 0.863 MB / 1.222 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001358/0.3671, allocations: 34.28 kB / 1.222 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.037e-05/0.3672, allocations: 31.42 kB / 1.222 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.3672, allocations: 0 / 1.222 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of Templates: time 0.00918/0.3763, allocations: 4.134 MB / 1.226 GB, free: 6.23 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches