Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 169 kB / 24.28 MB, free: 276 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9649/0.9649, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.954/1.954, allocations: 377.8 MB / 0.6239 GB, free: 8.582 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.198e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003486/0.003508, allocations: 2.47 MB / 0.8139 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002105/0.005613, allocations: 1.614 MB / 0.8155 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.005755, allocations: 7.938 kB / 0.8155 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005631/0.006318, allocations: 215.7 kB / 0.8157 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.00671, allocations: 216.6 kB / 0.8159 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.006978, allocations: 163.5 kB / 0.8161 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000373/0.007351, allocations: 370.7 kB / 0.8165 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.007519, allocations: 53.42 kB / 0.8165 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.007726, allocations: 195.5 kB / 0.8167 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.00789, allocations: 132.8 kB / 0.8168 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.007926, allocations: 20 kB / 0.8168 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.008041, allocations: 64.72 kB / 0.8169 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.008152, allocations: 131.5 kB / 0.817 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.008256, allocations: 96.52 kB / 0.8171 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.008641, allocations: 350.5 kB / 0.8175 GB, free: 12 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.008643, allocations: 0.5312 kB / 0.8175 GB, free: 12 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.61e-07/0.008643, allocations: 0 / 0.8175 GB, free: 12 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.008648, allocations: 1.375 kB / 0.8175 GB, free: 12 MB / 0.7761 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.0009011/0.009549, allocations: 0.8574 MB / 0.8183 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.009581, allocations: 8.031 kB / 0.8183 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.828e-05/0.00968, allocations: 76.5 kB / 0.8184 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/0.01009, allocations: 362.1 kB / 0.8187 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.01011, allocations: 9.125 kB / 0.8187 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.01014, allocations: 20.33 kB / 0.8187 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.01036, allocations: 180.7 kB / 0.8189 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.01037, allocations: 0 / 0.8189 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.01039, allocations: 4 kB / 0.8189 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.01039, allocations: 4 kB / 0.8189 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.01051, allocations: 49.31 kB / 0.819 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007261/0.01123, allocations: 0.5941 MB / 0.8196 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.01142, allocations: 101 kB / 0.8196 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.02e-05/0.01147, allocations: 27.67 kB / 0.8197 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.01148, allocations: 4 kB / 0.8197 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.01164, allocations: 144.4 kB / 0.8198 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.01164, allocations: 0.875 kB / 0.8198 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0002929/0.01193, allocations: 173.2 kB / 0.82 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.01196, allocations: 58.88 kB / 0.82 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005549/0.01251, allocations: 0.6207 MB / 0.8206 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.01254, allocations: 33.7 kB / 0.8207 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.01274, allocations: 335.1 kB / 0.821 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.01278, allocations: 35.72 kB / 0.821 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.757e-05/0.01286, allocations: 59.36 kB / 0.8211 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.01304, allocations: 0.5625 MB / 0.8216 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.709e-05/0.01311, allocations: 23.98 kB / 0.8217 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.01323, allocations: 127.4 kB / 0.8218 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.01335, allocations: 86.86 kB / 0.8219 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.01335, allocations: 3.984 kB / 0.8219 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002646/0.01362, allocations: 193.7 kB / 0.8221 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.01363, allocations: 11.88 kB / 0.8221 GB, free: 7.031 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.01364, allocations: 4 kB / 0.8221 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.01365, allocations: 0.875 kB / 0.8221 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.01379, allocations: 39.97 kB / 0.8221 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.01379, allocations: 0 / 0.8221 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.0139, allocations: 24.75 kB / 0.8221 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.01392, allocations: 8.656 kB / 0.8221 GB, free: 6.957 MB / 0.7761 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 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.01403, allocations: 170.5 kB / 0.8223 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.858e-05/0.01409, allocations: 67.56 kB / 0.8224 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.01432, allocations: 150.5 kB / 0.8225 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.01432, allocations: 0 / 0.8225 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.01432, allocations: 0 / 0.8225 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.01433, allocations: 7.281 kB / 0.8225 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.01462, allocations: 336.4 kB / 0.8228 GB, free: 6.191 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01462, allocations: 7.938 kB / 0.8228 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.006e-05/0.01467, allocations: 8 kB / 0.8229 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.01467, allocations: 7.984 kB / 0.8229 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.01469, allocations: 7.938 kB / 0.8229 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.01469, allocations: 0 / 0.8229 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01469, allocations: 0 / 0.8229 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.01497, allocations: 220.3 kB / 0.8231 GB, free: 5.926 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.01503, allocations: 59.55 kB / 0.8231 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.593e-05/0.01506, allocations: 3.938 kB / 0.8231 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.806e-05/0.01514, allocations: 17.11 kB / 0.8232 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.0152, allocations: 19.95 kB / 0.8232 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.01521, allocations: 5.094 kB / 0.8232 GB, free: 5.824 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003276/0.01554, allocations: 387 kB / 0.8235 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01554, allocations: 0 / 0.8235 GB, free: 5.453 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002645/0.0158, allocations: 64.95 kB / 0.8236 GB, free: 5.391 MB / 0.7761 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.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000925/0.01673, allocations: 398.8 kB / 0.824 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.01693, allocations: 100.3 kB / 0.8241 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01693, allocations: 4 kB / 0.8241 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.071e-05/0.017, allocations: 43.77 kB / 0.8241 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.01734, allocations: 88.12 kB / 0.8242 GB, free: 4.922 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.01838, allocations: 0.7346 MB / 0.8249 GB, free: 4.152 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.673e-05/0.01848, allocations: 136.1 kB / 0.8251 GB, free: 4 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.55e-05/0.01858, allocations: 38.94 kB / 0.8251 GB, free: 3.957 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.731e-05/0.01864, allocations: 40.48 kB / 0.8251 GB, free: 3.918 MB / 0.7761 GB Notification: Performance of SimCode: time 7.81e-07/0.01864, allocations: 0 / 0.8251 GB, free: 3.918 MB / 0.7761 GB Notification: Performance of Templates: time 0.00861/0.02725, allocations: 4.228 MB / 0.8293 GB, free: 15.77 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2574468369130045]