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.000862/0.000862, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.00215, allocations: 440 kB / 10.41 MB, free: 284 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.0007726/0.0007726, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00105/0.001823, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9752/0.9752, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1102/1.085, allocations: 53.68 MB / 243.4 MB, free: 15.49 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.614/2.614, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2851/2.9, allocations: 146 MB / 0.8176 GB, free: 3.828 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.603e-06/1.603e-06, allocations: 0 / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.445e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003246/0.003271, allocations: 2.52 MB / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002179/0.005449, allocations: 1.657 MB / 0.823 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/0.00567, allocations: 11.94 kB / 0.823 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005311/0.006201, allocations: 215.3 kB / 0.8232 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004181/0.006619, allocations: 222.7 kB / 0.8235 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.006972, allocations: 163.4 kB / 0.8236 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003948/0.007366, allocations: 358.7 kB / 0.824 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.007528, allocations: 62.84 kB / 0.824 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006893/0.008218, allocations: 303.8 kB / 0.8243 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.008401, allocations: 119.6 kB / 0.8244 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.008434, allocations: 20 kB / 0.8244 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.008589, allocations: 59.92 kB / 0.8245 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.624e-05/0.008686, allocations: 115.6 kB / 0.8246 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.197e-05/0.008758, allocations: 75.69 kB / 0.8247 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.009191, allocations: 326.5 kB / 0.825 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.009204, allocations: 0 / 0.825 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.553e-06/0.009206, allocations: 0 / 0.825 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.009218, allocations: 0 / 0.825 GB, free: 12.27 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.0008566/0.01007, allocations: 0.7935 MB / 0.8258 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.01011, allocations: 12.03 kB / 0.8258 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.85e-05/0.01018, allocations: 40.89 kB / 0.8258 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.01051, allocations: 350.4 kB / 0.8261 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.01053, allocations: 8.375 kB / 0.8262 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.01056, allocations: 16.38 kB / 0.8262 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.01075, allocations: 165.1 kB / 0.8263 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.01076, allocations: 3.938 kB / 0.8263 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.01077, allocations: 8 kB / 0.8263 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.01077, allocations: 7.938 kB / 0.8263 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.788e-05/0.01084, allocations: 36.89 kB / 0.8264 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.01131, allocations: 321.5 kB / 0.8267 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.01146, allocations: 121.2 kB / 0.8268 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.01149, allocations: 24.84 kB / 0.8268 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.01151, allocations: 7.938 kB / 0.8268 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001364/0.01164, allocations: 141.5 kB / 0.827 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.873e-06/0.01165, allocations: 4 kB / 0.827 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0001778/0.01182, allocations: 105.6 kB / 0.8271 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.01185, allocations: 51.41 kB / 0.8271 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.01217, allocations: 0.5067 MB / 0.8276 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.01219, allocations: 33.7 kB / 0.8276 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.639e-05/0.01228, allocations: 177.6 kB / 0.8278 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.01231, allocations: 39.72 kB / 0.8279 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/0.01238, allocations: 65.61 kB / 0.8279 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.01247, allocations: 366.7 kB / 0.8283 GB, free: 8.719 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.57e-05/0.01251, allocations: 22.81 kB / 0.8283 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.288e-05/0.01259, allocations: 109.8 kB / 0.8284 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.253e-05/0.01267, allocations: 80.86 kB / 0.8285 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01267, allocations: 0 / 0.8285 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001339/0.01281, allocations: 132.2 kB / 0.8286 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.01282, allocations: 8 kB / 0.8286 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.01283, allocations: 0 / 0.8286 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.01284, allocations: 11.98 kB / 0.8286 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.01299, allocations: 39.92 kB / 0.8287 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.01299, allocations: 0 / 0.8287 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.265e-05/0.01306, allocations: 23.94 kB / 0.8287 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.01308, allocations: 4 kB / 0.8287 GB, free: 8.258 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.058e-05/0.01317, allocations: 129.4 kB / 0.8288 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.0132, allocations: 31.95 kB / 0.8288 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.01335, allocations: 119.2 kB / 0.8289 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01336, allocations: 11.94 kB / 0.829 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.01336, allocations: 0 / 0.829 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01336, allocations: 0 / 0.829 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.01353, allocations: 185.6 kB / 0.8291 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.01353, allocations: 0 / 0.8291 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.024e-05/0.01359, allocations: 19.98 kB / 0.8292 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.659e-05/0.01367, allocations: 51.56 kB / 0.8292 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.01367, allocations: 0 / 0.8292 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.01368, allocations: 3.984 kB / 0.8292 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01369, allocations: 0 / 0.8292 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.01369, allocations: 3.938 kB / 0.8292 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.01386, allocations: 151.6 kB / 0.8294 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.01388, allocations: 8 kB / 0.8294 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.59e-05/0.01394, allocations: 8 kB / 0.8294 GB, free: 7.496 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.01399, allocations: 23.95 kB / 0.8294 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.014, allocations: 7.938 kB / 0.8294 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001463/0.01414, allocations: 228.6 kB / 0.8296 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01414, allocations: 0 / 0.8296 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001689/0.01431, allocations: 63.83 kB / 0.8297 GB, free: 7.18 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.001408/0.01572, allocations: 0.5699 MB / 0.8302 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.01587, allocations: 82.03 kB / 0.8303 GB, free: 6.805 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/0.01589, allocations: 8 kB / 0.8303 GB, free: 6.797 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.859e-05/0.01594, allocations: 36.78 kB / 0.8304 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.01631, allocations: 456.9 kB / 0.8308 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.01801, allocations: 0.7461 MB / 0.8315 GB, free: 5.461 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.838e-05/0.01809, allocations: 128.1 kB / 0.8316 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.951e-05/0.01819, allocations: 34.95 kB / 0.8317 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.01832, allocations: 111.3 kB / 0.8318 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of SimCode: time 1.011e-06/0.01832, allocations: 0 / 0.8318 GB, free: 5.172 MB / 0.8073 GB Notification: Performance of Templates: time 0.00792/0.02624, allocations: 4.592 MB / 0.8363 GB, free: 0.6641 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.632559102028608]