Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00138/0.00138, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001497/0.001497, allocations: 177 kB / 23.35 MB, free: 1.137 MB / 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.9929/0.9929, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.359/2.359, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.095e-06/3.095e-06, allocations: 4 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2.149e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003614/0.003636, allocations: 2.485 MB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001811/0.005446, allocations: 1.661 MB / 0.8427 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.005575, allocations: 7.938 kB / 0.8427 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.006088, allocations: 223.2 kB / 0.8429 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.006417, allocations: 202.8 kB / 0.8431 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.006639, allocations: 163.5 kB / 0.8433 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000297/0.006936, allocations: 366.7 kB / 0.8436 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.007072, allocations: 58.84 kB / 0.8437 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004598/0.007532, allocations: 239.8 kB / 0.8439 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.007678, allocations: 123.6 kB / 0.844 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.007707, allocations: 20 kB / 0.844 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.007812, allocations: 63.92 kB / 0.8441 GB, free: 8.559 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.505e-05/0.007897, allocations: 127.5 kB / 0.8442 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.205e-05/0.007969, allocations: 95.58 kB / 0.8443 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.00828, allocations: 338.5 kB / 0.8446 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.008282, allocations: 0 / 0.8446 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.21e-07/0.008282, allocations: 0 / 0.8446 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.008287, allocations: 0 / 0.8446 GB, free: 8.008 MB / 0.8073 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.000642/0.008929, allocations: 0.7196 MB / 0.8453 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.008959, allocations: 8.625 kB / 0.8453 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.009014, allocations: 40.89 kB / 0.8454 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.009313, allocations: 342.5 kB / 0.8457 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.009333, allocations: 12.38 kB / 0.8457 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.009355, allocations: 12.38 kB / 0.8457 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.00952, allocations: 161.1 kB / 0.8459 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.00953, allocations: 7.938 kB / 0.8459 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.009541, allocations: 8 kB / 0.8459 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.009546, allocations: 3.938 kB / 0.8459 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.188e-05/0.009608, allocations: 31.97 kB / 0.8459 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.01003, allocations: 329.5 kB / 0.8462 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.01016, allocations: 117.3 kB / 0.8464 GB, free: 6.137 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.939e-05/0.01019, allocations: 28.84 kB / 0.8464 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.01021, allocations: 3.938 kB / 0.8464 GB, free: 6.102 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/0.01032, allocations: 133.5 kB / 0.8465 GB, free: 5.945 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.01032, allocations: 0 / 0.8465 GB, free: 5.945 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0001569/0.01048, allocations: 113.6 kB / 0.8466 GB, free: 5.828 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.0105, allocations: 55.39 kB / 0.8467 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.01081, allocations: 0.5144 MB / 0.8472 GB, free: 5.234 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.01083, allocations: 33.7 kB / 0.8472 GB, free: 5.195 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.01091, allocations: 173.6 kB / 0.8474 GB, free: 5.023 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.01094, allocations: 35.72 kB / 0.8474 GB, free: 4.988 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/0.01099, allocations: 65.62 kB / 0.8475 GB, free: 4.918 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.0111, allocations: 374.6 kB / 0.8478 GB, free: 4.543 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.573e-05/0.01113, allocations: 22.81 kB / 0.8479 GB, free: 4.52 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.117e-05/0.01119, allocations: 103.5 kB / 0.848 GB, free: 4.395 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.243e-05/0.01126, allocations: 73.69 kB / 0.848 GB, free: 4.316 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01127, allocations: 0 / 0.848 GB, free: 4.316 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001325/0.0114, allocations: 136.2 kB / 0.8482 GB, free: 4.176 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.01141, allocations: 4 kB / 0.8482 GB, free: 4.172 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.01141, allocations: 0 / 0.8482 GB, free: 4.172 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.01143, allocations: 12 kB / 0.8482 GB, free: 4.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.01155, allocations: 35.92 kB / 0.8482 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.01155, allocations: 0 / 0.8482 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.855e-05/0.01162, allocations: 19.92 kB / 0.8482 GB, free: 4.105 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.01164, allocations: 4 kB / 0.8482 GB, free: 4.102 MB / 0.8073 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 8.709e-05/0.01172, allocations: 136.6 kB / 0.8484 GB, free: 3.957 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.01175, allocations: 27.97 kB / 0.8484 GB, free: 3.93 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.01188, allocations: 118.5 kB / 0.8485 GB, free: 3.809 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01188, allocations: 7.938 kB / 0.8485 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.01189, allocations: 4 kB / 0.8485 GB, free: 3.797 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01189, allocations: 0 / 0.8485 GB, free: 3.797 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.01204, allocations: 189.6 kB / 0.8487 GB, free: 3.594 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01204, allocations: 4 kB / 0.8487 GB, free: 3.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.01208, allocations: 16 kB / 0.8487 GB, free: 3.574 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.01208, allocations: 3.938 kB / 0.8487 GB, free: 3.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.01209, allocations: 0 / 0.8487 GB, free: 3.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.01209, allocations: 0 / 0.8487 GB, free: 3.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.01209, allocations: 7.984 kB / 0.8487 GB, free: 3.562 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.01224, allocations: 150.6 kB / 0.8489 GB, free: 3.395 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.01228, allocations: 55.61 kB / 0.8489 GB, free: 3.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.01231, allocations: 0 / 0.8489 GB, free: 3.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.83e-05/0.01236, allocations: 15.98 kB / 0.8489 GB, free: 3.324 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.01241, allocations: 15.97 kB / 0.8489 GB, free: 3.309 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.01242, allocations: 11.92 kB / 0.849 GB, free: 3.297 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001475/0.01256, allocations: 220.6 kB / 0.8492 GB, free: 3.086 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01257, allocations: 4 kB / 0.8492 GB, free: 3.082 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001522/0.01272, allocations: 55.89 kB / 0.8492 GB, free: 3.027 MB / 0.8073 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.001032/0.01375, allocations: 0.5258 MB / 0.8497 GB, free: 2.727 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.01387, allocations: 88.25 kB / 0.8498 GB, free: 2.641 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.01387, allocations: 4 kB / 0.8498 GB, free: 2.637 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.61e-05/0.01392, allocations: 35.09 kB / 0.8499 GB, free: 2.602 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.01412, allocations: 72.52 kB / 0.8499 GB, free: 2.527 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008141/0.01493, allocations: 0.7386 MB / 0.8506 GB, free: 1.754 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.419e-05/0.01501, allocations: 136.2 kB / 0.8508 GB, free: 1.602 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.23e-05/0.01508, allocations: 38.94 kB / 0.8508 GB, free: 1.562 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.01521, allocations: 107.3 kB / 0.8509 GB, free: 1.457 MB / 0.8073 GB Notification: Performance of SimCode: time 5.01e-07/0.01521, allocations: 0 / 0.8509 GB, free: 1.457 MB / 0.8073 GB Notification: Performance of Templates: time 0.006915/0.02212, allocations: 4.482 MB / 0.8553 GB, free: 13.06 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.247639135923237]