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.001451/0.001451, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00178/0.00178, allocations: 198.5 kB / 16.14 MB, free: 6.645 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.402/1.402, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.8/2.8, allocations: 461.8 MB / 0.7342 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 62.84 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3572, allocations: 157.4 MB / 1.052 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004066/0.3613, allocations: 2.479 MB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002194/0.3635, allocations: 1.479 MB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.3637, allocations: 11.94 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006524/0.3644, allocations: 227.8 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.3647, allocations: 135.4 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004007/0.3652, allocations: 166.7 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000383/0.3655, allocations: 326.9 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.3658, allocations: 88.7 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.3659, allocations: 119.4 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.3661, allocations: 151.2 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.152e-05/0.3662, allocations: 8 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.3663, allocations: 51.95 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.3665, allocations: 119.5 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.3666, allocations: 178.6 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005111/0.3672, allocations: 486.1 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3672, allocations: 4 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3672, allocations: 0 / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.3672, allocations: 7.875 kB / 1.058 GB, free: 2.766 MB / 0.8106 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.00124/0.3684, allocations: 0.789 MB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3685, allocations: 12.03 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.055e-05/0.3686, allocations: 68.11 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004713/0.3691, allocations: 427.8 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3691, allocations: 12.36 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.3691, allocations: 23.92 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.3694, allocations: 126.3 kB / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3694, allocations: 0 / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.3694, allocations: 8 kB / 1.059 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.3694, allocations: 4 kB / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.3696, allocations: 79.97 kB / 1.059 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.3707, allocations: 0.6445 MB / 1.06 GB, free: 452 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004101/0.3711, allocations: 134.7 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3712, allocations: 44.84 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.3712, allocations: 4 kB / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.3715, allocations: 107.3 kB / 1.06 GB, free: 136 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.3715, allocations: 0 / 1.06 GB, free: 136 kB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0005208/0.372, allocations: 212.9 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.3721, allocations: 55.41 kB / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007253/0.3728, allocations: 0.6436 MB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.3728, allocations: 33.7 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.3731, allocations: 252.4 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.3731, allocations: 47.47 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.3732, allocations: 57.59 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3734, allocations: 366.8 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.3736, allocations: 75.97 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.3738, allocations: 116.9 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.374, allocations: 140.4 kB / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.374, allocations: 0 / 1.062 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004022/0.3744, allocations: 264.8 kB / 1.063 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3744, allocations: 5.562 kB / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.3745, allocations: 8 kB / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3745, allocations: 0 / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.3747, allocations: 39.92 kB / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.3747, allocations: 7.984 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.3748, allocations: 31.86 kB / 1.063 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.3749, allocations: 4 kB / 1.063 GB, free: 13.73 MB / 0.8262 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.0002337/0.3751, allocations: 205.7 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.3752, allocations: 55.28 kB / 1.063 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.3753, allocations: 60.59 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3753, allocations: 4 kB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3753, allocations: 0 / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3753, allocations: 0 / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.3757, allocations: 377.3 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3757, allocations: 4 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.784e-05/0.3758, allocations: 11.98 kB / 1.063 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3758, allocations: 0 / 1.063 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.3758, allocations: 0 / 1.063 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3759, allocations: 0 / 1.063 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3759, allocations: 0 / 1.063 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.3763, allocations: 276.6 kB / 1.064 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.352e-05/0.3764, allocations: 124.5 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.3765, allocations: 4 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3766, allocations: 15.98 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.831e-05/0.3767, allocations: 23.95 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.3767, allocations: 8 kB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000454/0.3772, allocations: 426.8 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3772, allocations: 0 / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002912/0.3775, allocations: 63.84 kB / 1.064 GB, free: 12.01 MB / 0.8262 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.001019/0.3785, allocations: 424.2 kB / 1.065 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003384/0.3789, allocations: 147.9 kB / 1.065 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3789, allocations: 0 / 1.065 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.379, allocations: 59.91 kB / 1.065 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.3795, allocations: 77.69 kB / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.3809, allocations: 0.9561 MB / 1.066 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.3813, allocations: 0.8581 MB / 1.067 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.3814, allocations: 42.27 kB / 1.067 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/0.3815, allocations: 31.42 kB / 1.067 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3815, allocations: 0 / 1.067 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of Templates: time 0.00812/0.3896, allocations: 3.749 MB / 1.07 GB, free: 5.809 MB / 0.8262 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