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.001481/0.001481, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001748/0.001748, allocations: 215.2 kB / 22.25 MB, free: 4.852 MB / 14.72 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 1.656/1.656, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.776/3.776, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 66.19 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5185/0.5207, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004705/0.5254, allocations: 2.377 MB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003113/0.5285, allocations: 1.557 MB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.5288, allocations: 7.938 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008397/0.5296, allocations: 223.4 kB / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006009/0.5302, allocations: 199 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.5307, allocations: 155.6 kB / 1.368 GB, free: 9.008 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005231/0.5312, allocations: 366.8 kB / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.5314, allocations: 60.88 kB / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.5317, allocations: 143.4 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002529/0.5319, allocations: 155.2 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.026e-05/0.532, allocations: 24 kB / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.5321, allocations: 71.95 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.5323, allocations: 127.5 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.5325, allocations: 139 kB / 1.369 GB, free: 7.934 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006926/0.5332, allocations: 0.5132 MB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5332, allocations: 4 kB / 1.37 GB, free: 7.414 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5332, allocations: 3.938 kB / 1.37 GB, free: 7.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.5332, allocations: 0 / 1.37 GB, free: 7.41 MB / 1.061 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.001361/0.5346, allocations: 0.7562 MB / 1.371 GB, free: 6.621 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.5346, allocations: 12.03 kB / 1.371 GB, free: 6.609 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.5347, allocations: 64.52 kB / 1.371 GB, free: 6.547 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006358/0.5354, allocations: 367.5 kB / 1.371 GB, free: 6.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.5354, allocations: 12.38 kB / 1.371 GB, free: 6.148 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/0.5354, allocations: 15.94 kB / 1.371 GB, free: 6.133 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.5358, allocations: 189 kB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.5358, allocations: 0 / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.5359, allocations: 7.984 kB / 1.371 GB, free: 5.922 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.5359, allocations: 0 / 1.371 GB, free: 5.922 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.5361, allocations: 95.94 kB / 1.371 GB, free: 5.828 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.5372, allocations: 0.5388 MB / 1.372 GB, free: 5.258 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.5376, allocations: 126.7 kB / 1.372 GB, free: 5.125 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.5377, allocations: 44.78 kB / 1.372 GB, free: 5.078 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.5377, allocations: 4 kB / 1.372 GB, free: 5.074 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003004/0.538, allocations: 154.7 kB / 1.372 GB, free: 4.898 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.538, allocations: 0 / 1.372 GB, free: 4.898 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.000537/0.5386, allocations: 221.5 kB / 1.372 GB, free: 4.676 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.5386, allocations: 55.41 kB / 1.372 GB, free: 4.609 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000825/0.5394, allocations: 0.6719 MB / 1.373 GB, free: 3.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.5395, allocations: 29.7 kB / 1.373 GB, free: 3.895 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.5397, allocations: 260.5 kB / 1.373 GB, free: 3.637 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/0.5398, allocations: 35.7 kB / 1.373 GB, free: 3.602 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.5399, allocations: 57.62 kB / 1.373 GB, free: 3.539 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002143/0.5401, allocations: 370.8 kB / 1.374 GB, free: 3.168 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.5403, allocations: 83.91 kB / 1.374 GB, free: 3.086 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.5405, allocations: 165 kB / 1.374 GB, free: 2.902 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.5407, allocations: 135.8 kB / 1.374 GB, free: 2.766 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5407, allocations: 0 / 1.374 GB, free: 2.766 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000445/0.5411, allocations: 274 kB / 1.374 GB, free: 2.492 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.5412, allocations: 8 kB / 1.374 GB, free: 2.484 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5412, allocations: 3.984 kB / 1.374 GB, free: 2.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.5412, allocations: 0 / 1.374 GB, free: 2.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.5414, allocations: 35.92 kB / 1.374 GB, free: 2.445 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.5414, allocations: 4 kB / 1.374 GB, free: 2.441 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.5416, allocations: 35.89 kB / 1.374 GB, free: 2.406 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.5416, allocations: 4 kB / 1.374 GB, free: 2.402 MB / 1.061 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.0002334/0.5418, allocations: 205.7 kB / 1.375 GB, free: 2.191 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.734e-05/0.5419, allocations: 55.62 kB / 1.375 GB, free: 2.137 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003792/0.5423, allocations: 194.4 kB / 1.375 GB, free: 1.941 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5423, allocations: 7.938 kB / 1.375 GB, free: 1.934 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5423, allocations: 0 / 1.375 GB, free: 1.934 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.5423, allocations: 0 / 1.375 GB, free: 1.934 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.5426, allocations: 289.1 kB / 1.375 GB, free: 1.621 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.5426, allocations: 7.938 kB / 1.375 GB, free: 1.613 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.966e-05/0.5427, allocations: 15.98 kB / 1.375 GB, free: 1.598 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.5427, allocations: 0 / 1.375 GB, free: 1.598 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.5427, allocations: 0 / 1.375 GB, free: 1.598 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.828e-06/0.5427, allocations: 8 kB / 1.375 GB, free: 1.59 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5427, allocations: 0 / 1.375 GB, free: 1.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/0.5432, allocations: 271.2 kB / 1.375 GB, free: 1.309 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.5433, allocations: 63.5 kB / 1.376 GB, free: 1.246 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.401e-05/0.5434, allocations: 8 kB / 1.376 GB, free: 1.238 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.5435, allocations: 16.05 kB / 1.376 GB, free: 1.223 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.5436, allocations: 19.97 kB / 1.376 GB, free: 1.203 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.5436, allocations: 11.98 kB / 1.376 GB, free: 1.191 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005412/0.5441, allocations: 439 kB / 1.376 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.5441, allocations: 0 / 1.376 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003046/0.5444, allocations: 63.89 kB / 1.376 GB, free: 0.707 MB / 1.061 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.001812/0.5462, allocations: 458.2 kB / 1.376 GB, free: 444 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003806/0.5466, allocations: 153.4 kB / 1.377 GB, free: 292 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5466, allocations: 0 / 1.377 GB, free: 292 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.5467, allocations: 47.98 kB / 1.377 GB, free: 244 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.5472, allocations: 84.11 kB / 1.377 GB, free: 164 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.5488, allocations: 0.8609 MB / 1.378 GB, free: 15.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.5491, allocations: 258.5 kB / 1.378 GB, free: 14.99 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001457/0.5493, allocations: 46.94 kB / 1.378 GB, free: 14.95 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.081e-05/0.5494, allocations: 27.42 kB / 1.378 GB, free: 14.92 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/0.5494, allocations: 0 / 1.378 GB, free: 14.92 MB / 1.076 GB Notification: Performance of Templates: time 0.01236/0.5617, allocations: 4.651 MB / 1.382 GB, free: 10.32 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.856265544891357]