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.0009542/0.0009542, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001659/0.001659, allocations: 181.3 kB / 24.09 MB, free: 420 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.9425/0.9425, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.902/1.902, allocations: 377.9 MB / 0.6239 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] 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.974e-06/1.974e-06, allocations: 0 / 0.812 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.46e-05/2.657e-05, allocations: 3.438 kB / 0.812 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004315/0.004341, allocations: 2.447 MB / 0.8144 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002716/0.007057, allocations: 1.606 MB / 0.816 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002616/0.007318, allocations: 7.938 kB / 0.816 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007353/0.008054, allocations: 219.5 kB / 0.8162 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000596/0.00865, allocations: 207.5 kB / 0.8164 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.009102, allocations: 172.2 kB / 0.8166 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005601/0.009662, allocations: 371.9 kB / 0.8169 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.009881, allocations: 52.89 kB / 0.817 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008298/0.01071, allocations: 230.4 kB / 0.8172 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.01096, allocations: 128.8 kB / 0.8173 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.668e-05/0.01101, allocations: 20 kB / 0.8173 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.01118, allocations: 64.91 kB / 0.8174 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.01131, allocations: 127.5 kB / 0.8175 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.01143, allocations: 99.58 kB / 0.8176 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005581/0.01199, allocations: 331.6 kB / 0.8179 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.01199, allocations: 0 / 0.8179 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.32e-07/0.012, allocations: 1.812 kB / 0.8179 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.012, allocations: 0 / 0.8179 GB, free: 11.4 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.001108/0.01311, allocations: 0.8677 MB / 0.8188 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.01316, allocations: 13.56 kB / 0.8188 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.01328, allocations: 68.52 kB / 0.8188 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.01373, allocations: 372 kB / 0.8192 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.01376, allocations: 12.94 kB / 0.8192 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.0138, allocations: 21.73 kB / 0.8192 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.01403, allocations: 155.5 kB / 0.8194 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.01404, allocations: 3.938 kB / 0.8194 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.01405, allocations: 4 kB / 0.8194 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.01406, allocations: 4.625 kB / 0.8194 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.01416, allocations: 41.84 kB / 0.8194 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000758/0.01492, allocations: 0.4976 MB / 0.8199 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.0151, allocations: 83.25 kB / 0.82 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.287e-05/0.01515, allocations: 24.31 kB / 0.82 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.01517, allocations: 0.7188 kB / 0.82 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.01533, allocations: 145.6 kB / 0.8202 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 2.254e-06/0.01533, allocations: 0 / 0.8202 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0003108/0.01565, allocations: 161.2 kB / 0.8203 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.01567, allocations: 51.94 kB / 0.8204 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005832/0.01626, allocations: 0.6094 MB / 0.821 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.01628, allocations: 37.69 kB / 0.821 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.01652, allocations: 339 kB / 0.8213 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.01657, allocations: 40.66 kB / 0.8214 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-05/0.01666, allocations: 59.33 kB / 0.8214 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002179/0.01688, allocations: 0.5677 MB / 0.822 GB, free: 7.039 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.567e-05/0.01693, allocations: 23.97 kB / 0.822 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.01704, allocations: 124.5 kB / 0.8221 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.01715, allocations: 71.06 kB / 0.8222 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01715, allocations: 0 / 0.8222 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003671/0.01752, allocations: 187.2 kB / 0.8224 GB, free: 6.605 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.01754, allocations: 9.406 kB / 0.8224 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.01755, allocations: 0 / 0.8224 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.01756, allocations: 3.938 kB / 0.8224 GB, free: 6.594 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.01769, allocations: 36.55 kB / 0.8224 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.0177, allocations: 4 kB / 0.8224 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.0178, allocations: 27.31 kB / 0.8224 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.01782, allocations: 7.984 kB / 0.8224 GB, free: 6.523 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.000163/0.01798, allocations: 168.6 kB / 0.8226 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.01803, allocations: 59.62 kB / 0.8227 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.01825, allocations: 156.8 kB / 0.8228 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.01825, allocations: 7.875 kB / 0.8228 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01825, allocations: 0 / 0.8228 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.01826, allocations: 4.5 kB / 0.8228 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.01846, allocations: 250 kB / 0.8231 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01846, allocations: 0 / 0.8231 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.058e-05/0.01851, allocations: 8 kB / 0.8231 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01851, allocations: 0.5 kB / 0.8231 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.01852, allocations: 4.594 kB / 0.8231 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01852, allocations: 0 / 0.8231 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.01852, allocations: 1.375 kB / 0.8231 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.01873, allocations: 219.9 kB / 0.8233 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.01878, allocations: 47.59 kB / 0.8233 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.0188, allocations: 8.781 kB / 0.8233 GB, free: 5.547 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.748e-05/0.01886, allocations: 4 kB / 0.8233 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.01891, allocations: 28.45 kB / 0.8234 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.01892, allocations: 9.094 kB / 0.8234 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001955/0.01912, allocations: 362.9 kB / 0.8237 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01912, allocations: 0 / 0.8237 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001892/0.01931, allocations: 60.55 kB / 0.8238 GB, free: 5.102 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.0008171/0.02012, allocations: 407.7 kB / 0.8242 GB, free: 4.852 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.02027, allocations: 86.2 kB / 0.8242 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.02027, allocations: 0 / 0.8242 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.769e-05/0.02032, allocations: 40.67 kB / 0.8243 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.02059, allocations: 90.34 kB / 0.8244 GB, free: 4.645 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009252/0.02151, allocations: 0.7231 MB / 0.8251 GB, free: 3.887 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.772e-05/0.02158, allocations: 132.1 kB / 0.8252 GB, free: 3.738 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.324e-05/0.02165, allocations: 46.94 kB / 0.8252 GB, free: 3.688 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.02178, allocations: 134.2 kB / 0.8254 GB, free: 3.555 MB / 0.7761 GB Notification: Performance of SimCode: time 6.81e-07/0.02178, allocations: 3.938 kB / 0.8254 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of Templates: time 0.007104/0.02889, allocations: 4.499 MB / 0.8298 GB, free: 15.14 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.1049558613449335]