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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.223/2.223, allocations: 387.1 MB / 399.7 MB, free: 9.426 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 188.4 kB / 492.3 MB, free: 0.6016 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 221.3 MB / 0.7871 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008726/0.0008726, allocations: 98 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.845e-05/2.847e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2821, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8777/1.16, allocations: 156 MB / 1.365 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/1.16, allocations: 88.14 kB / 1.365 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02888/1.189, allocations: 12.81 MB / 1.377 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.482e-06/1.189, allocations: 0 / 1.377 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.295e-05/1.189, allocations: 7.844 kB / 1.377 GB, free: 33.52 MB / 0.8386 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.0007778/1.19, allocations: 0.6669 MB / 1.378 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/1.19, allocations: 11.72 kB / 1.378 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.754e-05/1.19, allocations: 58.28 kB / 1.378 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005828/1.191, allocations: 423 kB / 1.379 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/1.191, allocations: 9.828 kB / 1.379 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/1.191, allocations: 17.28 kB / 1.379 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/1.191, allocations: 128.3 kB / 1.379 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/1.191, allocations: 0 / 1.379 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/1.191, allocations: 7.094 kB / 1.379 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/1.191, allocations: 3.844 kB / 1.379 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/1.191, allocations: 74.16 kB / 1.379 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008582/1.192, allocations: 0.6711 MB / 1.379 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/1.192, allocations: 130.6 kB / 1.38 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.12e-05/1.192, allocations: 37.11 kB / 1.38 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/1.192, allocations: 15.28 kB / 1.38 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/1.192, allocations: 104.6 kB / 1.38 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/1.192, allocations: 0 / 1.38 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0002637/1.193, allocations: 156.5 kB / 1.38 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/1.193, allocations: 57.88 kB / 1.38 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005053/1.193, allocations: 0.5675 MB / 1.38 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/1.193, allocations: 37.38 kB / 1.38 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/1.193, allocations: 269.5 kB / 1.381 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/1.194, allocations: 37.55 kB / 1.381 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.274e-05/1.194, allocations: 3.312 kB / 1.381 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.194, allocations: 373.3 kB / 1.381 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/1.194, allocations: 86.61 kB / 1.381 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/1.194, allocations: 119.2 kB / 1.381 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/1.194, allocations: 95.48 kB / 1.381 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.194, allocations: 0 / 1.381 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003282/1.194, allocations: 281.9 kB / 1.382 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/1.194, allocations: 3.906 kB / 1.382 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/1.194, allocations: 0 / 1.382 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/1.194, allocations: 3.125 kB / 1.382 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/1.195, allocations: 37.91 kB / 1.382 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/1.195, allocations: 3.969 kB / 1.382 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/1.195, allocations: 30.7 kB / 1.382 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/1.195, allocations: 11.06 kB / 1.382 GB, free: 31.2 MB / 0.8386 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 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.899e-05/1.195, allocations: 127.8 kB / 1.382 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/1.195, allocations: 57.94 kB / 1.382 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/1.195, allocations: 181.5 kB / 1.382 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/1.195, allocations: 11.83 kB / 1.382 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/1.195, allocations: 0 / 1.382 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.195, allocations: 0 / 1.382 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/1.196, allocations: 377 kB / 1.382 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.196, allocations: 0 / 1.382 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.265e-05/1.196, allocations: 11.61 kB / 1.382 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/1.196, allocations: 0 / 1.382 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/1.196, allocations: 3.844 kB / 1.382 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/1.196, allocations: 0 / 1.382 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.196, allocations: 4 kB / 1.382 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/1.196, allocations: 263.7 kB / 1.383 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.38e-05/1.196, allocations: 134.4 kB / 1.383 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/1.196, allocations: 3.984 kB / 1.383 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/1.196, allocations: 23.33 kB / 1.383 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/1.196, allocations: 18.78 kB / 1.383 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/1.196, allocations: 7.703 kB / 1.383 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003521/1.197, allocations: 429.1 kB / 1.383 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.197, allocations: 3.938 kB / 1.383 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002924/1.197, allocations: 75.12 kB / 1.383 GB, free: 30.3 MB / 0.8386 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.maxPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000904/1.198, allocations: 435.5 kB / 1.384 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002374/1.198, allocations: 145.5 kB / 1.384 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.198, allocations: 0 / 1.384 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.079e-05/1.198, allocations: 57.33 kB / 1.384 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/1.199, allocations: 60.39 kB / 1.384 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007623/1.199, allocations: 0.6068 MB / 1.385 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/1.2, allocations: 0.8664 MB / 1.386 GB, free: 29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001196/1.2, allocations: 40.91 kB / 1.386 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.353e-05/1.2, allocations: 26.92 kB / 1.386 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of SimCode: time 2.1e-07/1.2, allocations: 0 / 1.386 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of Templates: time 0.007553/1.208, allocations: 4.169 MB / 1.39 GB, free: 26.92 MB / 0.8386 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","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches