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.376/1.376, allocations: 249.5 MB / 257 MB, free: 6.93 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.0009556/0.0009559, allocations: 178 kB / 316.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.3 MB / 0.5671 GB, free: 15.93 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.0007484/0.0007484, allocations: 92.95 kB / 0.6714 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.918e-05/1.926e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1807, allocations: 106.3 MB / 0.8852 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.59/0.7707, allocations: 137.8 MB / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.771, allocations: 87.27 kB / 1.02 GB, free: 96 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0292/0.8002, allocations: 11.84 MB / 1.031 GB, free: 6.086 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.375e-06/0.8002, allocations: 11.88 kB / 1.031 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.39e-05/0.8003, allocations: 11.94 kB / 1.031 GB, free: 6.062 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.0007598/0.801, allocations: 0.6378 MB / 1.032 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.8011, allocations: 12.03 kB / 1.032 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.34e-05/0.8012, allocations: 55.25 kB / 1.032 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.8018, allocations: 405.2 kB / 1.032 GB, free: 4.938 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.8018, allocations: 4 kB / 1.033 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.8018, allocations: 8 kB / 1.033 GB, free: 4.926 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001539/0.802, allocations: 70.8 kB / 1.033 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.8022, allocations: 117.5 kB / 1.033 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.8022, allocations: 0 / 1.033 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.8022, allocations: 0 / 1.033 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.8022, allocations: 7.938 kB / 1.033 GB, free: 4.781 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008181/0.8031, allocations: 0.603 MB / 1.033 GB, free: 4.254 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.8033, allocations: 113.7 kB / 1.033 GB, free: 4.164 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.636e-05/0.8033, allocations: 38.92 kB / 1.033 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.8034, allocations: 4 kB / 1.033 GB, free: 4.133 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.8035, allocations: 93.12 kB / 1.034 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/0.8035, allocations: 0 / 1.034 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.0002556/0.8038, allocations: 148.6 kB / 1.034 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.8038, allocations: 55.41 kB / 1.034 GB, free: 3.852 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005275/0.8044, allocations: 0.5243 MB / 1.034 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.8044, allocations: 29.7 kB / 1.034 GB, free: 3.398 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.8046, allocations: 251.9 kB / 1.034 GB, free: 3.254 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.8046, allocations: 34.36 kB / 1.035 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.8046, allocations: 0 / 1.035 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.8048, allocations: 369.5 kB / 1.035 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.8049, allocations: 81.42 kB / 1.035 GB, free: 2.828 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.805, allocations: 109.1 kB / 1.035 GB, free: 2.742 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.8052, allocations: 83.03 kB / 1.035 GB, free: 2.688 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.8052, allocations: 0 / 1.035 GB, free: 2.688 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003562/0.8055, allocations: 275.7 kB / 1.035 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.8056, allocations: 5.875 kB / 1.035 GB, free: 2.465 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.8056, allocations: 11.98 kB / 1.035 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.8056, allocations: 0 / 1.035 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.8057, allocations: 27.98 kB / 1.035 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.8058, allocations: 3.984 kB / 1.035 GB, free: 2.422 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.8059, allocations: 31.86 kB / 1.035 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.806, allocations: 11.25 kB / 1.035 GB, free: 2.383 MB / 0.6511 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.917e-05/0.8061, allocations: 109.5 kB / 1.036 GB, free: 2.27 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.8061, allocations: 63.22 kB / 1.036 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.8064, allocations: 168.2 kB / 1.036 GB, free: 2.074 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.8064, allocations: 0 / 1.036 GB, free: 2.074 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.8064, allocations: 0 / 1.036 GB, free: 2.074 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.8064, allocations: 7.938 kB / 1.036 GB, free: 2.066 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.8067, allocations: 332.9 kB / 1.036 GB, free: 1.766 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.8067, allocations: 0 / 1.036 GB, free: 1.766 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.16e-05/0.8068, allocations: 8 kB / 1.036 GB, free: 1.758 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.8068, allocations: 0 / 1.036 GB, free: 1.758 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.8068, allocations: 15.12 kB / 1.036 GB, free: 1.746 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.8068, allocations: 0 / 1.036 GB, free: 1.746 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8068, allocations: 0 / 1.036 GB, free: 1.746 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.8071, allocations: 235.4 kB / 1.036 GB, free: 1.543 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-05/0.8072, allocations: 131.9 kB / 1.037 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/0.8073, allocations: 3.562 kB / 1.037 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.8074, allocations: 19.94 kB / 1.037 GB, free: 1.379 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.8075, allocations: 23.78 kB / 1.037 GB, free: 1.359 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.8075, allocations: 7.984 kB / 1.037 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003422/0.8079, allocations: 384.6 kB / 1.037 GB, free: 1.062 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8079, allocations: 64 / 1.037 GB, free: 1.062 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002777/0.8082, allocations: 63.38 kB / 1.037 GB, free: 1.004 MB / 0.6511 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.0007881/0.809, allocations: 392.4 kB / 1.037 GB, free: 0.6992 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.8092, allocations: 136.1 kB / 1.038 GB, free: 0.6055 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.8092, allocations: 0 / 1.038 GB, free: 0.6055 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.033e-05/0.8093, allocations: 56.36 kB / 1.038 GB, free: 0.5664 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.8096, allocations: 46.44 kB / 1.038 GB, free: 0.5391 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008171/0.8105, allocations: 0.565 MB / 1.038 GB, free: 12 kB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.8109, allocations: 0.8643 MB / 1.039 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001113/0.811, allocations: 38.03 kB / 1.039 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.8111, allocations: 23.44 kB / 1.039 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of SimCode: time 3e-07/0.8111, allocations: 0 / 1.039 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of Templates: time 0.006788/0.8179, allocations: 3.19 MB / 1.042 GB, free: 11.91 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