Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002286/0.002286, allocations: 192.8 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.818/2.818, allocations: 476.7 MB / 0.7645 GB, free: 10.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 67.89 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9695/0.9716, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004294/0.9758, allocations: 2.456 MB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002582/0.9784, allocations: 1.545 MB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.9786, allocations: 7.938 kB / 1.278 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007382/0.9794, allocations: 223.2 kB / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000394/0.9798, allocations: 159.2 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005148/0.9803, allocations: 191.6 kB / 1.279 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004446/0.9807, allocations: 350.7 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.9809, allocations: 56.72 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.9811, allocations: 143.4 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.9814, allocations: 167.2 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.389e-05/0.9814, allocations: 20 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.9816, allocations: 63.97 kB / 1.279 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.9817, allocations: 131.5 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.9819, allocations: 186.7 kB / 1.28 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007798/0.9827, allocations: 0.512 MB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.9827, allocations: 3.938 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.037e-06/0.9827, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.9827, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 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.001783/0.9845, allocations: 0.8237 MB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.9845, allocations: 8.031 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.9847, allocations: 64.52 kB / 1.281 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007645/0.9854, allocations: 428.5 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.9855, allocations: 12.38 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.9855, allocations: 15.94 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/0.9859, allocations: 137.6 kB / 1.282 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.9859, allocations: 3.938 kB / 1.282 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.9859, allocations: 8 kB / 1.282 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.9859, allocations: 0 / 1.282 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.9861, allocations: 83.95 kB / 1.282 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.9874, allocations: 0.6446 MB / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.9878, allocations: 122.7 kB / 1.282 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.9879, allocations: 44.84 kB / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.988, allocations: 4 kB / 1.282 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002615/0.9882, allocations: 115.3 kB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.9882, allocations: 0 / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0005152/0.9887, allocations: 213.2 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.9888, allocations: 51.41 kB / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008584/0.9897, allocations: 0.6476 MB / 1.283 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.9897, allocations: 33.7 kB / 1.283 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.99, allocations: 260.5 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.509e-05/0.99, allocations: 43.69 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.9901, allocations: 53.69 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002418/0.9904, allocations: 366.8 kB / 1.284 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.9905, allocations: 75.97 kB / 1.284 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.9907, allocations: 120.6 kB / 1.284 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.991, allocations: 131.7 kB / 1.284 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.991, allocations: 0 / 1.284 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004651/0.9914, allocations: 275.7 kB / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.9915, allocations: 4 kB / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.9915, allocations: 0 / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.9915, allocations: 4 kB / 1.285 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.9917, allocations: 39.97 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.9917, allocations: 3.938 kB / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001857/0.9919, allocations: 31.91 kB / 1.285 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.9919, allocations: 15.94 kB / 1.285 GB, free: 9.285 MB / 0.9825 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.0002667/0.9922, allocations: 210.2 kB / 1.285 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.482e-05/0.9922, allocations: 55.62 kB / 1.285 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004095/0.9927, allocations: 190.2 kB / 1.285 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.9927, allocations: 4 kB / 1.285 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.9927, allocations: 4 kB / 1.285 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.9927, allocations: 0 / 1.285 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.9931, allocations: 377.4 kB / 1.286 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.9931, allocations: 3.984 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-05/0.9932, allocations: 11.98 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.9932, allocations: 0 / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.9932, allocations: 0 / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.9932, allocations: 0 / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.9932, allocations: 0 / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004915/0.9937, allocations: 278.2 kB / 1.286 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.9939, allocations: 124.8 kB / 1.286 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.847e-05/0.9939, allocations: 7.984 kB / 1.286 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.9941, allocations: 15.98 kB / 1.286 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.88e-05/0.9942, allocations: 23.97 kB / 1.286 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.9942, allocations: 4 kB / 1.286 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000511/0.9947, allocations: 426.8 kB / 1.286 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.9947, allocations: 0 / 1.286 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003029/0.995, allocations: 67.94 kB / 1.287 GB, free: 7.418 MB / 0.9825 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 (12): * Single equations (assignments): 10 * 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.001632/0.9966, allocations: 426.4 kB / 1.287 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000375/0.997, allocations: 143.9 kB / 1.287 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.997, allocations: 0 / 1.287 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.9971, allocations: 55.91 kB / 1.287 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.9976, allocations: 83.08 kB / 1.287 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.9991, allocations: 0.8556 MB / 1.288 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/0.9997, allocations: 0.8571 MB / 1.289 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.9998, allocations: 34.28 kB / 1.289 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.478e-05/0.9999, allocations: 35.42 kB / 1.289 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of SimCode: time 4.1e-07/0.9999, allocations: 0 / 1.289 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of Templates: time 0.01032/1.01, allocations: 4.104 MB / 1.293 GB, free: 0.9727 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.276102865114808]