Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001352/0.001352, allocations: 119 kB / 16.42 MB, free: 6.496 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.001339/0.001339, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.43/1.43, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.265/2.265, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 67.89 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9243/0.9258, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003868/0.9297, allocations: 2.431 MB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002411/0.9321, allocations: 1.513 MB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.9324, allocations: 3.875 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008186/0.9332, allocations: 229.5 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004322/0.9337, allocations: 166.1 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005537/0.9342, allocations: 187.1 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004685/0.9347, allocations: 352.8 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.935, allocations: 94.06 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.9352, allocations: 142.6 kB / 1.094 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.9354, allocations: 163.6 kB / 1.094 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.436e-05/0.9355, allocations: 21.44 kB / 1.094 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.9357, allocations: 63.38 kB / 1.094 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.9359, allocations: 128.3 kB / 1.094 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.9361, allocations: 189.3 kB / 1.094 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007821/0.9369, allocations: 0.5044 MB / 1.095 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.9369, allocations: 0 / 1.095 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9369, allocations: 4.719 kB / 1.095 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.9369, allocations: 0 / 1.095 GB, free: 1.672 MB / 0.8575 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.001308/0.9382, allocations: 0.7918 MB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.9383, allocations: 13.38 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.9384, allocations: 59.7 kB / 1.095 GB, free: 1 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005795/0.939, allocations: 425.4 kB / 1.096 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/0.939, allocations: 11.11 kB / 1.096 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.686e-05/0.9391, allocations: 17.25 kB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.9394, allocations: 142.1 kB / 1.096 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.9394, allocations: 4.719 kB / 1.096 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.9395, allocations: 5.391 kB / 1.096 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.9395, allocations: 3.438 kB / 1.096 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.9397, allocations: 81.97 kB / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.9409, allocations: 0.6349 MB / 1.097 GB, free: 132 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.9414, allocations: 134.4 kB / 1.097 GB, free: 64 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.9415, allocations: 51.27 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.9415, allocations: 2.188 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.9418, allocations: 102.6 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 4.82e-06/0.9418, allocations: 0 / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.0005684/0.9424, allocations: 213 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.9424, allocations: 53.14 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009461/0.9434, allocations: 0.6521 MB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.9434, allocations: 29.72 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.9437, allocations: 260.8 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-05/0.9437, allocations: 41.7 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.9438, allocations: 53.27 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.944, allocations: 367.4 kB / 1.099 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.9442, allocations: 75.91 kB / 1.099 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.9444, allocations: 118.3 kB / 1.099 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.9447, allocations: 133.9 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.9447, allocations: 7.938 kB / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004956/0.9452, allocations: 265.7 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.9452, allocations: 9.516 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.9452, allocations: 0.7812 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.9453, allocations: 2.188 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.9455, allocations: 46.91 kB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.9455, allocations: 1.031 kB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.9457, allocations: 29.97 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.9457, allocations: 6.875 kB / 1.099 GB, free: 14.59 MB / 0.8731 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.0002743/0.946, allocations: 214.3 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.516e-05/0.9461, allocations: 51.31 kB / 1.1 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.9462, allocations: 60.03 kB / 1.1 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.9462, allocations: 0.7969 kB / 1.1 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.9462, allocations: 1.062 kB / 1.1 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.9464, allocations: 122.8 kB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.838e-05/0.9465, allocations: 7.547 kB / 1.1 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.9466, allocations: 15.14 kB / 1.1 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.704e-05/0.9467, allocations: 25.48 kB / 1.1 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004202/0.9471, allocations: 231.6 kB / 1.1 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000535/0.9477, allocations: 400.2 kB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001254/0.9478, allocations: 56.8 kB / 1.1 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005983/0.9484, allocations: 428.2 kB / 1.101 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of Backend: time 5.61e-07/0.9484, allocations: 0 / 1.101 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001696/0.9501, allocations: 0.5242 MB / 1.101 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001797/0.9519, allocations: 1.306 MB / 1.103 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of Templates: time 0.01244/0.9644, allocations: 4.155 MB / 1.107 GB, free: 12.1 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches