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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.294/2.294, allocations: 390.6 MB / 398 MB, free: 10.96 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.001255/0.001256, allocations: 176.8 kB / 491.2 MB, free: 1.582 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.618/1.618, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.000999/0.0009989, allocations: 85.64 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.963e-05/1.966e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2993, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9452/1.245, allocations: 156.2 MB / 1.365 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/1.245, allocations: 87.52 kB / 1.365 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02915/1.274, allocations: 12.69 MB / 1.377 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.054e-06/1.274, allocations: 0 / 1.377 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.004e-05/1.274, allocations: 7.688 kB / 1.377 GB, free: 32.05 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.0007857/1.275, allocations: 0.6641 MB / 1.378 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/1.275, allocations: 11.53 kB / 1.378 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.146e-05/1.275, allocations: 62.27 kB / 1.378 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006096/1.276, allocations: 417.4 kB / 1.378 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/1.276, allocations: 3.844 kB / 1.378 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/1.276, allocations: 10.59 kB / 1.378 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001604/1.276, allocations: 73.5 kB / 1.379 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/1.276, allocations: 118.7 kB / 1.379 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/1.276, allocations: 0 / 1.379 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/1.276, allocations: 3.984 kB / 1.379 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/1.276, allocations: 11.73 kB / 1.379 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008603/1.277, allocations: 0.6198 MB / 1.379 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/1.277, allocations: 126.8 kB / 1.379 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.441e-05/1.277, allocations: 40.5 kB / 1.379 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/1.277, allocations: 0 / 1.379 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/1.278, allocations: 96.77 kB / 1.379 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 1.472e-06/1.278, allocations: 0 / 1.379 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0002718/1.278, allocations: 158.8 kB / 1.38 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/1.278, allocations: 55.41 kB / 1.38 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005519/1.278, allocations: 0.5483 MB / 1.38 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/1.279, allocations: 25.7 kB / 1.38 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/1.279, allocations: 261.3 kB / 1.381 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/1.279, allocations: 36.64 kB / 1.381 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.463e-05/1.279, allocations: 0 / 1.381 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001725/1.279, allocations: 373 kB / 1.381 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/1.279, allocations: 86.42 kB / 1.381 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/1.279, allocations: 117.3 kB / 1.381 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/1.279, allocations: 92.06 kB / 1.381 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.279, allocations: 0 / 1.381 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004036/1.28, allocations: 285.4 kB / 1.381 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/1.28, allocations: 3.812 kB / 1.381 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/1.28, allocations: 3.938 kB / 1.381 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/1.28, allocations: 7.906 kB / 1.381 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/1.28, allocations: 32.34 kB / 1.382 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/1.28, allocations: 0 / 1.382 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/1.28, allocations: 29.02 kB / 1.382 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/1.28, allocations: 11.31 kB / 1.382 GB, free: 30.03 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 9.974e-05/1.28, allocations: 119.8 kB / 1.382 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/1.281, allocations: 53.97 kB / 1.382 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/1.281, allocations: 173.8 kB / 1.382 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/1.281, allocations: 3.969 kB / 1.382 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.281, allocations: 3.938 kB / 1.382 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.281, allocations: 3 kB / 1.382 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/1.281, allocations: 332.2 kB / 1.382 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.281, allocations: 3.953 kB / 1.382 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/1.281, allocations: 11.7 kB / 1.382 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1.281, allocations: 7.844 kB / 1.382 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/1.281, allocations: 0 / 1.382 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/1.281, allocations: 0 / 1.382 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.281, allocations: 0 / 1.382 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/1.282, allocations: 246.7 kB / 1.382 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-05/1.282, allocations: 138.2 kB / 1.383 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/1.282, allocations: 7.234 kB / 1.383 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/1.282, allocations: 19.11 kB / 1.383 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/1.282, allocations: 26.44 kB / 1.383 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/1.282, allocations: 7.797 kB / 1.383 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003554/1.282, allocations: 392.9 kB / 1.383 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.282, allocations: 0 / 1.383 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002979/1.283, allocations: 68.81 kB / 1.383 GB, free: 29.21 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.0009037/1.284, allocations: 405.6 kB / 1.383 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002689/1.284, allocations: 145.5 kB / 1.384 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.284, allocations: 4.062 kB / 1.384 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.973e-05/1.284, allocations: 51.92 kB / 1.384 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/1.284, allocations: 64.11 kB / 1.384 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008989/1.285, allocations: 0.5838 MB / 1.384 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/1.286, allocations: 0.8716 MB / 1.385 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001256/1.286, allocations: 37.14 kB / 1.385 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/1.286, allocations: 26.89 kB / 1.385 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.286, allocations: 0 / 1.385 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of Templates: time 0.007316/1.293, allocations: 3.533 MB / 1.389 GB, free: 26.14 MB / 0.8386 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","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches