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.0009867/0.0009867, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001231/0.001231, allocations: 161 kB / 24.17 MB, free: 332 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.9952/0.9952, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.903/1.903, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.162e-06/1.162e-06, allocations: 0 / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.639e-05, allocations: 5.547 kB / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.00288/0.002897, allocations: 2.492 MB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.004782, allocations: 1.648 MB / 0.7641 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.004913, allocations: 8.688 kB / 0.7641 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004893/0.005403, allocations: 220 kB / 0.7644 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.005729, allocations: 200.5 kB / 0.7645 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.005952, allocations: 163.4 kB / 0.7647 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003311/0.006283, allocations: 366.7 kB / 0.7651 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.006473, allocations: 58.86 kB / 0.7651 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005388/0.007012, allocations: 226.4 kB / 0.7653 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.007162, allocations: 126.4 kB / 0.7654 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.007192, allocations: 20 kB / 0.7655 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.007304, allocations: 59.92 kB / 0.7655 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.58e-05/0.00739, allocations: 131.5 kB / 0.7656 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.153e-05/0.007461, allocations: 99.58 kB / 0.7657 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.007788, allocations: 330.6 kB / 0.7661 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.00779, allocations: 1.375 kB / 0.7661 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.91e-07/0.00779, allocations: 0 / 0.7661 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.007795, allocations: 0 / 0.7661 GB, free: 0.4961 MB / 0.7136 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.0006686/0.008463, allocations: 0.7131 MB / 0.7668 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.008496, allocations: 12.02 kB / 0.7668 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.008553, allocations: 51.73 kB / 0.7668 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.008859, allocations: 342.5 kB / 0.7671 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.008878, allocations: 8.375 kB / 0.7671 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.008901, allocations: 16.38 kB / 0.7672 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.009067, allocations: 170.4 kB / 0.7673 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.009077, allocations: 7.938 kB / 0.7673 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.009087, allocations: 3.125 kB / 0.7673 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.009094, allocations: 4 kB / 0.7673 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.748e-05/0.009161, allocations: 43.89 kB / 0.7674 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004379/0.009599, allocations: 325.5 kB / 0.7677 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.009734, allocations: 123 kB / 0.7678 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/0.009762, allocations: 20.84 kB / 0.7678 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.009777, allocations: 4 kB / 0.7678 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/0.009896, allocations: 129.6 kB / 0.768 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.009897, allocations: 0.9688 kB / 0.768 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0001628/0.01006, allocations: 117.4 kB / 0.7681 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.01008, allocations: 57.84 kB / 0.7681 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.0104, allocations: 0.5067 MB / 0.7686 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.01042, allocations: 33.7 kB / 0.7687 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.139e-05/0.0105, allocations: 169.7 kB / 0.7688 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.01054, allocations: 43.67 kB / 0.7689 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.0106, allocations: 53.66 kB / 0.7689 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.01071, allocations: 370.7 kB / 0.7693 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.443e-05/0.01074, allocations: 25.44 kB / 0.7693 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.791e-05/0.01081, allocations: 109.9 kB / 0.7694 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.657e-05/0.01089, allocations: 73.69 kB / 0.7695 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01089, allocations: 0 / 0.7695 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001356/0.01102, allocations: 135.1 kB / 0.7696 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.01104, allocations: 9.562 kB / 0.7696 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.01104, allocations: 0 / 0.7696 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.01105, allocations: 3.938 kB / 0.7696 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.01119, allocations: 41.19 kB / 0.7696 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.0112, allocations: 0 / 0.7696 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.839e-05/0.01126, allocations: 23.89 kB / 0.7697 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.01128, allocations: 8.516 kB / 0.7697 GB, free: 12.59 MB / 0.7292 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 9.227e-05/0.01137, allocations: 133.3 kB / 0.7698 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.0114, allocations: 28.75 kB / 0.7698 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.01154, allocations: 115.8 kB / 0.7699 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01155, allocations: 12.58 kB / 0.77 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.01155, allocations: 0 / 0.77 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.01155, allocations: 1.375 kB / 0.77 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.0117, allocations: 185.6 kB / 0.7701 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01171, allocations: 0 / 0.7701 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.327e-05/0.01175, allocations: 16.97 kB / 0.7701 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.01175, allocations: 0 / 0.7701 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.01176, allocations: 11.98 kB / 0.7702 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.01176, allocations: 0.7188 kB / 0.7702 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01177, allocations: 3.984 kB / 0.7702 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.01192, allocations: 162 kB / 0.7703 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.01196, allocations: 44.62 kB / 0.7704 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.01199, allocations: 12 kB / 0.7704 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.996e-05/0.01204, allocations: 7.984 kB / 0.7704 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.01209, allocations: 24.89 kB / 0.7704 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.0121, allocations: 15.88 kB / 0.7704 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001547/0.01226, allocations: 217.5 kB / 0.7706 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01226, allocations: 0 / 0.7706 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001739/0.01243, allocations: 63.89 kB / 0.7707 GB, free: 11.51 MB / 0.7292 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.001132/0.01356, allocations: 0.5159 MB / 0.7712 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.01369, allocations: 76.75 kB / 0.7713 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.01369, allocations: 8.938 kB / 0.7713 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.567e-05/0.01374, allocations: 36.28 kB / 0.7713 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.01397, allocations: 73.58 kB / 0.7714 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008564/0.01483, allocations: 0.743 MB / 0.7721 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.01498, allocations: 136.9 kB / 0.7722 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.218e-05/0.01505, allocations: 36.67 kB / 0.7723 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.01518, allocations: 111.3 kB / 0.7724 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of SimCode: time 5.71e-07/0.01518, allocations: 1.156 kB / 0.7724 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of Templates: time 0.007215/0.02239, allocations: 4.493 MB / 0.7768 GB, free: 5.676 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.100425359793007]