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.0007761/0.0007761, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001538/0.002314, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009547/0.0009547, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001241/0.002196, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.946/0.946, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1007/1.047, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.361/2.361, allocations: 446.7 MB / 0.6745 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2514/2.612, allocations: 145.9 MB / 0.817 GB, free: 4.168 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 1.192e-06/1.192e-06, allocations: 0 / 0.8183 GB, free: 2.84 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.064e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002689/0.00271, allocations: 2.502 MB / 0.8208 GB, free: 320 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.004635, allocations: 1.657 MB / 0.8224 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.004768, allocations: 7.938 kB / 0.8224 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.005181, allocations: 223.3 kB / 0.8226 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.005478, allocations: 210.9 kB / 0.8228 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.005704, allocations: 163.4 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.005992, allocations: 358.7 kB / 0.8233 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.006135, allocations: 66.78 kB / 0.8234 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005987/0.006734, allocations: 296.7 kB / 0.8237 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.006872, allocations: 119.6 kB / 0.8238 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.0069, allocations: 20 kB / 0.8238 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.007022, allocations: 59.92 kB / 0.8238 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.293e-05/0.007105, allocations: 111.6 kB / 0.824 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.854e-05/0.007173, allocations: 87.61 kB / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.007547, allocations: 314.6 kB / 0.8243 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.491e-05/0.007562, allocations: 0 / 0.8243 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.042e-06/0.007563, allocations: 3.938 kB / 0.8243 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.007578, allocations: 0 / 0.8243 GB, free: 12.66 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.0008574/0.008435, allocations: 0.7935 MB / 0.8251 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.008472, allocations: 8.625 kB / 0.8251 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.515e-05/0.008538, allocations: 44.89 kB / 0.8252 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.008868, allocations: 350.4 kB / 0.8255 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.008889, allocations: 12.38 kB / 0.8255 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.008914, allocations: 12.38 kB / 0.8255 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.009112, allocations: 161.8 kB / 0.8257 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.009121, allocations: 11.86 kB / 0.8257 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.009134, allocations: 8 kB / 0.8257 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.009138, allocations: 0 / 0.8257 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.091e-05/0.009209, allocations: 41.11 kB / 0.8257 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004704/0.009679, allocations: 329.5 kB / 0.8261 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.00983, allocations: 117.3 kB / 0.8262 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.009859, allocations: 24.84 kB / 0.8262 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.009881, allocations: 0 / 0.8262 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.01002, allocations: 149.4 kB / 0.8263 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.624e-06/0.01002, allocations: 0 / 0.8263 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0001715/0.01019, allocations: 109.5 kB / 0.8264 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.01022, allocations: 55.41 kB / 0.8265 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/0.01055, allocations: 0.5029 MB / 0.827 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.01057, allocations: 33.7 kB / 0.827 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.249e-05/0.01066, allocations: 177.6 kB / 0.8272 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.0107, allocations: 39.72 kB / 0.8272 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/0.01076, allocations: 61.61 kB / 0.8273 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.01088, allocations: 366.7 kB / 0.8276 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.519e-05/0.01091, allocations: 22.81 kB / 0.8276 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.166e-05/0.01098, allocations: 113.8 kB / 0.8278 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.267e-05/0.01106, allocations: 72.97 kB / 0.8278 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01107, allocations: 0 / 0.8278 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001544/0.01122, allocations: 136.2 kB / 0.828 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.01124, allocations: 4 kB / 0.828 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.01124, allocations: 4 kB / 0.828 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.01125, allocations: 3.938 kB / 0.828 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.01141, allocations: 43.91 kB / 0.828 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.01142, allocations: 3.984 kB / 0.828 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.038e-05/0.01149, allocations: 19.94 kB / 0.828 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.0115, allocations: 12.03 kB / 0.828 GB, free: 8.645 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 9.984e-05/0.0116, allocations: 124.7 kB / 0.8282 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.01163, allocations: 31.95 kB / 0.8282 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.01177, allocations: 123.3 kB / 0.8283 GB, free: 8.355 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01178, allocations: 3.938 kB / 0.8283 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01178, allocations: 0 / 0.8283 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01178, allocations: 7.938 kB / 0.8283 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.01193, allocations: 181.6 kB / 0.8285 GB, free: 8.148 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.01193, allocations: 4 kB / 0.8285 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.885e-05/0.01198, allocations: 20 kB / 0.8285 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.01202, allocations: 47.61 kB / 0.8286 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.01202, allocations: 4 kB / 0.8286 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.01203, allocations: 0 / 0.8286 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01203, allocations: 0 / 0.8286 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.01203, allocations: 3.938 kB / 0.8286 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.01222, allocations: 159.8 kB / 0.8287 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.01224, allocations: 0 / 0.8287 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.091e-05/0.01229, allocations: 15.98 kB / 0.8287 GB, free: 7.879 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.355e-05/0.01234, allocations: 23.95 kB / 0.8288 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.01234, allocations: 7.969 kB / 0.8288 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001422/0.01249, allocations: 228.6 kB / 0.829 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01249, allocations: 0 / 0.829 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001567/0.01264, allocations: 67.81 kB / 0.8291 GB, free: 7.559 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.001357/0.014, allocations: 0.5492 MB / 0.8296 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.01415, allocations: 77.98 kB / 0.8297 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/0.01417, allocations: 8.062 kB / 0.8297 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.01428, allocations: 44.27 kB / 0.8297 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.01453, allocations: 100.8 kB / 0.8298 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.01616, allocations: 0.7376 MB / 0.8305 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.942e-05/0.01624, allocations: 140 kB / 0.8307 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.996e-05/0.01632, allocations: 38.95 kB / 0.8307 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.01645, allocations: 111.3 kB / 0.8308 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of SimCode: time 6.11e-07/0.01645, allocations: 0 / 0.8308 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of Templates: time 0.007869/0.02432, allocations: 4.609 MB / 0.8353 GB, free: 1.457 MB / 0.8073 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 -emit_protected -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.ref.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.3305029813200235]