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.374/2.374, allocations: 387.4 MB / 394.8 MB, free: 13.38 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.001092/0.001092, allocations: 184.6 kB / 487.4 MB, free: 5.027 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.461/1.461, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009376/0.0009377, allocations: 101.5 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.124e-05/2.125e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.311, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8433/1.154, allocations: 155.4 MB / 1.358 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/1.155, allocations: 89.95 kB / 1.358 GB, free: 18.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02963/1.184, allocations: 12.68 MB / 1.37 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.803e-06/1.184, allocations: 0 / 1.37 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.907e-05/1.184, allocations: 11.69 kB / 1.37 GB, free: 32.88 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.0009787/1.185, allocations: 0.663 MB / 1.371 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/1.185, allocations: 11.47 kB / 1.371 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/1.186, allocations: 61.81 kB / 1.371 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000677/1.186, allocations: 417 kB / 1.371 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/1.186, allocations: 7.875 kB / 1.371 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/1.186, allocations: 7.562 kB / 1.371 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001645/1.187, allocations: 80.42 kB / 1.371 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/1.187, allocations: 120 kB / 1.371 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.187, allocations: 0 / 1.371 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/1.187, allocations: 0 / 1.371 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/1.187, allocations: 7.828 kB / 1.372 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009363/1.188, allocations: 0.6151 MB / 1.372 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/1.188, allocations: 129.1 kB / 1.372 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.456e-05/1.188, allocations: 37.23 kB / 1.372 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/1.188, allocations: 224 / 1.372 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/1.188, allocations: 99.52 kB / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/1.188, allocations: 0 / 1.372 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0002708/1.188, allocations: 159.5 kB / 1.373 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/1.188, allocations: 59.34 kB / 1.373 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000582/1.189, allocations: 0.5405 MB / 1.373 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/1.189, allocations: 29.61 kB / 1.373 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/1.189, allocations: 267.5 kB / 1.373 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/1.189, allocations: 31.09 kB / 1.373 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/1.189, allocations: 3.844 kB / 1.373 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.189, allocations: 370.8 kB / 1.374 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/1.19, allocations: 80.55 kB / 1.374 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/1.19, allocations: 115.5 kB / 1.374 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/1.19, allocations: 96.34 kB / 1.374 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.19, allocations: 0 / 1.374 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003866/1.19, allocations: 276.6 kB / 1.374 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/1.19, allocations: 7.469 kB / 1.374 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.19, allocations: 64 / 1.374 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/1.19, allocations: 4 kB / 1.374 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/1.191, allocations: 39.7 kB / 1.374 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/1.191, allocations: 3.938 kB / 1.374 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/1.191, allocations: 28.91 kB / 1.374 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/1.191, allocations: 7.688 kB / 1.374 GB, free: 30.86 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 0.0001003/1.191, allocations: 123.1 kB / 1.375 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/1.191, allocations: 54.62 kB / 1.375 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/1.191, allocations: 177.8 kB / 1.375 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/1.191, allocations: 3.906 kB / 1.375 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.191, allocations: 0 / 1.375 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.191, allocations: 3.938 kB / 1.375 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/1.192, allocations: 339.5 kB / 1.375 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.192, allocations: 0 / 1.375 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.751e-05/1.192, allocations: 7.656 kB / 1.375 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/1.192, allocations: 7.953 kB / 1.375 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/1.192, allocations: 10.05 kB / 1.375 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.192, allocations: 0 / 1.375 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.192, allocations: 0 / 1.375 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/1.192, allocations: 246.1 kB / 1.375 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.291e-05/1.192, allocations: 134.3 kB / 1.375 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/1.192, allocations: 3.953 kB / 1.375 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/1.192, allocations: 22.48 kB / 1.375 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/1.192, allocations: 27.58 kB / 1.376 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/1.192, allocations: 7.219 kB / 1.376 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004077/1.193, allocations: 392.5 kB / 1.376 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.91e-07/1.193, allocations: 3.594 kB / 1.376 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003218/1.193, allocations: 71.52 kB / 1.376 GB, free: 30.16 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.0008156/1.194, allocations: 404.1 kB / 1.376 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002091/1.194, allocations: 139.5 kB / 1.376 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.194, allocations: 4.062 kB / 1.376 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.371e-05/1.194, allocations: 54.38 kB / 1.377 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/1.195, allocations: 62.59 kB / 1.377 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009336/1.196, allocations: 0.5877 MB / 1.377 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/1.196, allocations: 0.8652 MB / 1.378 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000132/1.196, allocations: 44.62 kB / 1.378 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.411e-05/1.196, allocations: 32.48 kB / 1.378 GB, free: 29 MB / 0.8386 GB Notification: Performance of SimCode: time 8.12e-07/1.196, allocations: 0 / 1.378 GB, free: 29 MB / 0.8386 GB Notification: Performance of Templates: time 0.00748/1.204, allocations: 3.531 MB / 1.382 GB, free: 27.82 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