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.0008839/0.0008839, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001177/0.002061, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006929/0.0006929, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009512/0.001644, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9555/0.9555, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1281/1.084, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.774/1.774, allocations: 378.4 MB / 0.6079 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5987/2.373, allocations: 123.3 MB / 0.7283 GB, free: 5.719 MB / 0.698 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.894e-06/1.894e-06, allocations: 0.7656 kB / 0.7297 GB, free: 4.379 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.409e-05, allocations: 4.562 kB / 0.7297 GB, free: 4.375 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004127/0.004151, allocations: 2.512 MB / 0.7321 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003076/0.007227, allocations: 1.66 MB / 0.7337 GB, free: 244 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.007506, allocations: 10.33 kB / 0.7338 GB, free: 236 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006823/0.008188, allocations: 226 kB / 0.734 GB, free: 16 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005679/0.008756, allocations: 219.5 kB / 0.7342 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.009203, allocations: 165 kB / 0.7343 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004996/0.009703, allocations: 358.7 kB / 0.7347 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.009892, allocations: 58.86 kB / 0.7347 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000862/0.01075, allocations: 303.6 kB / 0.735 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.01097, allocations: 119.6 kB / 0.7351 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.297e-05/0.01101, allocations: 21.25 kB / 0.7352 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.0112, allocations: 63.91 kB / 0.7352 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.01132, allocations: 111.6 kB / 0.7353 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.887e-05/0.01142, allocations: 77.44 kB / 0.7354 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005201/0.01194, allocations: 326.5 kB / 0.7357 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-05/0.01196, allocations: 0 / 0.7357 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.343e-06/0.01196, allocations: 0 / 0.7357 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.794e-05/0.01198, allocations: 0 / 0.7357 GB, free: 14.26 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.001091/0.01307, allocations: 0.7909 MB / 0.7365 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.01311, allocations: 8.688 kB / 0.7365 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.761e-05/0.01319, allocations: 44.89 kB / 0.7365 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.01362, allocations: 339.6 kB / 0.7369 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.01365, allocations: 13.03 kB / 0.7369 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.572e-05/0.01369, allocations: 16.36 kB / 0.7369 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.01391, allocations: 166.3 kB / 0.737 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.01392, allocations: 3.938 kB / 0.7371 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.01393, allocations: 8 kB / 0.7371 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.01394, allocations: 5.031 kB / 0.7371 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.749e-05/0.01403, allocations: 33.55 kB / 0.7371 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009808/0.01501, allocations: 327.4 kB / 0.7374 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.01533, allocations: 121.2 kB / 0.7375 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.01537, allocations: 21.42 kB / 0.7375 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.01539, allocations: 9.156 kB / 0.7376 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.01555, allocations: 137.5 kB / 0.7377 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=12): time 1.904e-06/0.01555, allocations: 0.8438 kB / 0.7377 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12): time 0.0002194/0.01577, allocations: 105.9 kB / 0.7378 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.0158, allocations: 56.62 kB / 0.7378 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004928/0.01629, allocations: 0.5067 MB / 0.7383 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.01632, allocations: 37.64 kB / 0.7384 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.01644, allocations: 169.6 kB / 0.7385 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.01648, allocations: 40.47 kB / 0.7386 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.292e-05/0.01657, allocations: 61.61 kB / 0.7386 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.01675, allocations: 367.4 kB / 0.739 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.908e-05/0.01681, allocations: 27.31 kB / 0.739 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.714e-05/0.01691, allocations: 109.9 kB / 0.7391 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.01703, allocations: 72.94 kB / 0.7392 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01703, allocations: 4 kB / 0.7392 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002133/0.01725, allocations: 139.3 kB / 0.7393 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.01726, allocations: 4 kB / 0.7393 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01727, allocations: 0 / 0.7393 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.01729, allocations: 7.938 kB / 0.7393 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.01749, allocations: 37.17 kB / 0.7394 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.0175, allocations: 3.984 kB / 0.7394 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.01762, allocations: 20.8 kB / 0.7394 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.01765, allocations: 11.98 kB / 0.7394 GB, free: 10.28 MB / 0.7136 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.000132/0.01778, allocations: 125.7 kB / 0.7395 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.01784, allocations: 31.97 kB / 0.7395 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/0.01806, allocations: 125.5 kB / 0.7397 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.01806, allocations: 7.938 kB / 0.7397 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.01806, allocations: 3.984 kB / 0.7397 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01807, allocations: 0 / 0.7397 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.01829, allocations: 185.6 kB / 0.7399 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.0183, allocations: 0 / 0.7399 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-05/0.01837, allocations: 12 kB / 0.7399 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/0.01843, allocations: 51.61 kB / 0.7399 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.01844, allocations: 6.969 kB / 0.7399 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.01845, allocations: 0 / 0.7399 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.01845, allocations: 4 kB / 0.7399 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.01846, allocations: 7.938 kB / 0.7399 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.0187, allocations: 146.1 kB / 0.7401 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.01874, allocations: 4 kB / 0.7401 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.36e-05/0.01883, allocations: 15.98 kB / 0.7401 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.0189, allocations: 24.61 kB / 0.7401 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.01891, allocations: 9.5 kB / 0.7401 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002466/0.01916, allocations: 224.6 kB / 0.7403 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01916, allocations: 0 / 0.7403 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002754/0.01943, allocations: 63.83 kB / 0.7404 GB, free: 9.211 MB / 0.7136 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.001926/0.02136, allocations: 0.5745 MB / 0.741 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.02155, allocations: 69.27 kB / 0.741 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/0.02156, allocations: 8 kB / 0.741 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.45e-05/0.02165, allocations: 45.64 kB / 0.7411 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.02213, allocations: 462.8 kB / 0.7415 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.02451, allocations: 0.753 MB / 0.7423 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.02462, allocations: 128.2 kB / 0.7424 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.02475, allocations: 32.81 kB / 0.7424 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.02493, allocations: 107.3 kB / 0.7425 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of SimCode: time 1.272e-06/0.02493, allocations: 0.625 kB / 0.7425 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of Templates: time 0.008025/0.03295, allocations: 4.597 MB / 0.747 GB, free: 2.828 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower/Buildings_12_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: 4.967344428412616]