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.001498/0.001498, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001903/0.001903, allocations: 161 kB / 23.82 MB, free: 0.75 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.9647/0.9647, allocations: 177.1 MB / 204.2 MB, free: 5.262 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 2.026/2.026, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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.643e-06/1.643e-06, allocations: 0 / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.835e-05, allocations: 4.984 kB / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004529/0.004557, allocations: 2.474 MB / 0.814 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002718/0.007276, allocations: 1.621 MB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.007503, allocations: 9.469 kB / 0.8156 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007135/0.008217, allocations: 224.1 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005891/0.008806, allocations: 202.4 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.009236, allocations: 160 kB / 0.8161 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005149/0.009751, allocations: 378.7 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.009946, allocations: 53.77 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.01024, allocations: 191.5 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.01046, allocations: 132.8 kB / 0.8168 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.42e-05/0.01052, allocations: 24 kB / 0.8169 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.01067, allocations: 65.28 kB / 0.8169 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.01081, allocations: 131.5 kB / 0.8171 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.01093, allocations: 95.58 kB / 0.8171 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005136/0.01144, allocations: 348.2 kB / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.01145, allocations: 7.938 kB / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.984e-06/0.01145, allocations: 0 / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.01146, allocations: 0 / 0.8175 GB, free: 11.64 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.001156/0.01261, allocations: 0.8533 MB / 0.8183 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.01266, allocations: 12.91 kB / 0.8183 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.01279, allocations: 76.5 kB / 0.8184 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005269/0.01331, allocations: 354.3 kB / 0.8187 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.01334, allocations: 12.38 kB / 0.8188 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.01339, allocations: 26.44 kB / 0.8188 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.01367, allocations: 179.1 kB / 0.8189 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.01368, allocations: 0 / 0.8189 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.0137, allocations: 4 kB / 0.819 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.01371, allocations: 4 kB / 0.819 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.01384, allocations: 44.41 kB / 0.819 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009186/0.01476, allocations: 0.6033 MB / 0.8196 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.01499, allocations: 95.2 kB / 0.8197 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.429e-05/0.01505, allocations: 33.36 kB / 0.8197 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.01508, allocations: 4 kB / 0.8197 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.01526, allocations: 140.4 kB / 0.8198 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 2.225e-06/0.01527, allocations: 0 / 0.8198 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0003579/0.01562, allocations: 173.7 kB / 0.82 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.01566, allocations: 55.97 kB / 0.8201 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006677/0.01633, allocations: 0.6246 MB / 0.8207 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.01636, allocations: 31.36 kB / 0.8207 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.01662, allocations: 335.1 kB / 0.821 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.691e-05/0.01666, allocations: 39.72 kB / 0.8211 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.426e-05/0.01676, allocations: 55.36 kB / 0.8211 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002208/0.01698, allocations: 0.5632 MB / 0.8217 GB, free: 7.141 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-05/0.01706, allocations: 27.98 kB / 0.8217 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.0172, allocations: 130.9 kB / 0.8218 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.01734, allocations: 77.94 kB / 0.8219 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01734, allocations: 0 / 0.8219 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003159/0.01766, allocations: 203.9 kB / 0.8221 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.01768, allocations: 7.938 kB / 0.8221 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01769, allocations: 0 / 0.8221 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.01771, allocations: 4 kB / 0.8221 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.01788, allocations: 35.97 kB / 0.8221 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.01789, allocations: 5.766 kB / 0.8221 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.01801, allocations: 27.88 kB / 0.8222 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.01803, allocations: 8 kB / 0.8222 GB, free: 6.59 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.0001359/0.01817, allocations: 169.5 kB / 0.8223 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.01823, allocations: 63.56 kB / 0.8224 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.01851, allocations: 155.5 kB / 0.8225 GB, free: 6.191 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01851, allocations: 4 kB / 0.8225 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.01851, allocations: 3.938 kB / 0.8226 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.01852, allocations: 1.031 kB / 0.8226 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000338/0.01886, allocations: 340.4 kB / 0.8229 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01886, allocations: 0 / 0.8229 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.341e-05/0.01892, allocations: 9.125 kB / 0.8229 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.01893, allocations: 3.984 kB / 0.8229 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.01895, allocations: 11.94 kB / 0.8229 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.01895, allocations: 0.7812 kB / 0.8229 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01895, allocations: 0 / 0.8229 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.01928, allocations: 225.2 kB / 0.8231 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/0.01935, allocations: 51.61 kB / 0.8232 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.01939, allocations: 7.938 kB / 0.8232 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.003e-05/0.01948, allocations: 13.92 kB / 0.8232 GB, free: 5.48 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/0.01956, allocations: 23.95 kB / 0.8232 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.01957, allocations: 8 kB / 0.8232 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003781/0.01995, allocations: 387 kB / 0.8236 GB, free: 5.078 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01995, allocations: 1.344 kB / 0.8236 GB, free: 5.078 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003276/0.02028, allocations: 63.89 kB / 0.8236 GB, free: 5.016 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.001184/0.02146, allocations: 392.4 kB / 0.824 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.02172, allocations: 99.31 kB / 0.8241 GB, free: 4.68 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02172, allocations: 0 / 0.8241 GB, free: 4.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.779e-05/0.0218, allocations: 47.61 kB / 0.8242 GB, free: 4.629 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.02237, allocations: 74.02 kB / 0.8242 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.02346, allocations: 0.7346 MB / 0.8249 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.056e-05/0.02354, allocations: 140.1 kB / 0.8251 GB, free: 3.633 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.793e-05/0.02361, allocations: 42.92 kB / 0.8251 GB, free: 3.586 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.459e-05/0.02368, allocations: 40.42 kB / 0.8252 GB, free: 3.547 MB / 0.7761 GB Notification: Performance of SimCode: time 8.31e-07/0.02368, allocations: 0 / 0.8252 GB, free: 3.547 MB / 0.7761 GB Notification: Performance of Templates: time 0.007219/0.0309, allocations: 4.222 MB / 0.8293 GB, free: 15.4 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.495698215905577]