Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.386/1.386, allocations: 249.3 MB / 261.8 MB, free: 5.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 172.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.212/1.212, allocations: 205.2 MB / 0.572 GB, free: 10.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008093/0.0008093, allocations: 86.47 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.508e-05/2.512e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1541, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5751/0.7293, allocations: 137.5 MB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.7296, allocations: 94.98 kB / 1.026 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03048/0.7601, allocations: 11.98 MB / 1.038 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7601, allocations: 3.938 kB / 1.038 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.167e-05/0.7602, allocations: 8 kB / 1.038 GB, free: 2.902 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007832/0.761, allocations: 0.644 MB / 1.038 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.761, allocations: 8.031 kB / 1.038 GB, free: 2.234 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.772e-05/0.7611, allocations: 59.25 kB / 1.039 GB, free: 2.176 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006341/0.7617, allocations: 394.6 kB / 1.039 GB, free: 1.785 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.7618, allocations: 11.5 kB / 1.039 GB, free: 1.777 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.7618, allocations: 15.92 kB / 1.039 GB, free: 1.766 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.762, allocations: 128 kB / 1.039 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.7621, allocations: 0 / 1.039 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.7621, allocations: 3.188 kB / 1.039 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.7621, allocations: 4 kB / 1.039 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.7623, allocations: 81.72 kB / 1.039 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009461/0.7632, allocations: 0.6284 MB / 1.04 GB, free: 1.051 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/0.7635, allocations: 123.7 kB / 1.04 GB, free: 0.9531 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.984e-05/0.7635, allocations: 41.78 kB / 1.04 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.7636, allocations: 0 / 1.04 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.7638, allocations: 104.4 kB / 1.04 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 3.747e-06/0.7638, allocations: 3.984 kB / 1.04 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.0002836/0.7641, allocations: 158.9 kB / 1.04 GB, free: 0.6836 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.7641, allocations: 55.41 kB / 1.04 GB, free: 0.6172 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006008/0.7647, allocations: 0.5537 MB / 1.041 GB, free: 180 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.7648, allocations: 33.52 kB / 1.041 GB, free: 144 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.7649, allocations: 251.4 kB / 1.041 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.765, allocations: 34.8 kB / 1.041 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/0.765, allocations: 4 kB / 1.041 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.7652, allocations: 374.4 kB / 1.041 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.7653, allocations: 82.48 kB / 1.042 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.7655, allocations: 120 kB / 1.042 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.7656, allocations: 79.48 kB / 1.042 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7656, allocations: 3.938 kB / 1.042 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003874/0.766, allocations: 287.4 kB / 1.042 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.766, allocations: 4 kB / 1.042 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.766, allocations: 4 kB / 1.042 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.7661, allocations: 0 / 1.042 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.7662, allocations: 39.16 kB / 1.042 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.7662, allocations: 0 / 1.042 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.7664, allocations: 31.2 kB / 1.042 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.7665, allocations: 15.97 kB / 1.042 GB, free: 15.1 MB / 0.6667 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.302e-05/0.7666, allocations: 123.8 kB / 1.042 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.7666, allocations: 51.34 kB / 1.042 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.7669, allocations: 179.8 kB / 1.042 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.7669, allocations: 4 kB / 1.042 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7669, allocations: 0 / 1.042 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.7669, allocations: 0 / 1.042 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.7673, allocations: 371.1 kB / 1.043 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7673, allocations: 4 kB / 1.043 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.149e-05/0.7674, allocations: 11.94 kB / 1.043 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.7674, allocations: 0 / 1.043 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.7674, allocations: 10.98 kB / 1.043 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.7674, allocations: 4 kB / 1.043 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7674, allocations: 3.938 kB / 1.043 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.7678, allocations: 242.6 kB / 1.043 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.7679, allocations: 128.3 kB / 1.043 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.7679, allocations: 4.062 kB / 1.043 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.7681, allocations: 19.86 kB / 1.043 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.503e-05/0.7682, allocations: 23.2 kB / 1.043 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.7682, allocations: 4 kB / 1.043 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004217/0.7686, allocations: 411.2 kB / 1.044 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7686, allocations: 0 / 1.044 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002946/0.7689, allocations: 70.67 kB / 1.044 GB, free: 13.64 MB / 0.6667 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.0009188/0.7698, allocations: 423.5 kB / 1.044 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.7701, allocations: 135.9 kB / 1.044 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7701, allocations: 64 / 1.044 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 9.96e-05/0.7702, allocations: 56.62 kB / 1.044 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.7706, allocations: 55.48 kB / 1.044 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009018/0.7715, allocations: 0.5802 MB / 1.045 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.7719, allocations: 0.8616 MB / 1.046 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000118/0.7721, allocations: 42.05 kB / 1.046 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.439e-05/0.7721, allocations: 19.44 kB / 1.046 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of SimCode: time 2.61e-07/0.7721, allocations: 0 / 1.046 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of Templates: time 0.008153/0.7803, allocations: 3.806 MB / 1.049 GB, free: 7.887 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches