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.001614/0.001614, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001811/0.001811, allocations: 214.6 kB / 22.99 MB, free: 4.945 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.245/3.245, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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.003468/0.003468, allocations: 72.08 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3799, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004418/0.3843, allocations: 2.377 MB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00303/0.3874, allocations: 1.561 MB / 1.368 GB, free: 9.641 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002629/0.3876, allocations: 7.938 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007544/0.3884, allocations: 215.4 kB / 1.369 GB, free: 9.422 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006362/0.389, allocations: 203 kB / 1.369 GB, free: 9.223 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.3895, allocations: 151.6 kB / 1.369 GB, free: 9.074 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005798/0.39, allocations: 366.8 kB / 1.369 GB, free: 8.715 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.3903, allocations: 60.88 kB / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.3905, allocations: 143.4 kB / 1.37 GB, free: 8.508 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002653/0.3908, allocations: 163.2 kB / 1.37 GB, free: 8.348 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.869e-05/0.3908, allocations: 24 kB / 1.37 GB, free: 8.324 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.391, allocations: 63.97 kB / 1.37 GB, free: 8.262 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.3912, allocations: 127.5 kB / 1.37 GB, free: 8.137 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.3913, allocations: 142.9 kB / 1.37 GB, free: 7.996 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006777/0.392, allocations: 0.5132 MB / 1.371 GB, free: 7.48 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.392, allocations: 4 kB / 1.371 GB, free: 7.477 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.242e-06/0.392, allocations: 0 / 1.371 GB, free: 7.477 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.043e-05/0.392, allocations: 4 kB / 1.371 GB, free: 7.473 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.001384/0.3934, allocations: 0.7536 MB / 1.371 GB, free: 6.688 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3935, allocations: 8.031 kB / 1.371 GB, free: 6.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.3936, allocations: 68.52 kB / 1.371 GB, free: 6.613 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005959/0.3942, allocations: 367.5 kB / 1.372 GB, free: 6.227 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.3942, allocations: 8.375 kB / 1.372 GB, free: 6.219 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.3942, allocations: 15.94 kB / 1.372 GB, free: 6.203 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.3946, allocations: 192.9 kB / 1.372 GB, free: 5.996 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3946, allocations: 0 / 1.372 GB, free: 5.996 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.3946, allocations: 8 kB / 1.372 GB, free: 5.988 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.3946, allocations: 0 / 1.372 GB, free: 5.988 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.3948, allocations: 91.94 kB / 1.372 GB, free: 5.898 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009978/0.3958, allocations: 0.5312 MB / 1.373 GB, free: 5.336 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.3962, allocations: 134.5 kB / 1.373 GB, free: 5.195 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.848e-05/0.3963, allocations: 44.78 kB / 1.373 GB, free: 5.148 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.3963, allocations: 4 kB / 1.373 GB, free: 5.145 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002521/0.3965, allocations: 154.8 kB / 1.373 GB, free: 4.969 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 2.034e-06/0.3965, allocations: 0 / 1.373 GB, free: 4.969 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0004925/0.397, allocations: 217.1 kB / 1.373 GB, free: 4.75 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.3971, allocations: 59.41 kB / 1.373 GB, free: 4.68 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008062/0.3979, allocations: 0.6719 MB / 1.374 GB, free: 4 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.3979, allocations: 29.7 kB / 1.374 GB, free: 3.965 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.3981, allocations: 260.5 kB / 1.374 GB, free: 3.707 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.171e-05/0.3982, allocations: 43.69 kB / 1.374 GB, free: 3.664 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.845e-05/0.3983, allocations: 53.64 kB / 1.374 GB, free: 3.605 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.3985, allocations: 370.8 kB / 1.375 GB, free: 3.234 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.3986, allocations: 75.97 kB / 1.375 GB, free: 3.16 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.3989, allocations: 168.5 kB / 1.375 GB, free: 2.973 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.3991, allocations: 139.8 kB / 1.375 GB, free: 2.832 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3991, allocations: 0 / 1.375 GB, free: 2.832 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004514/0.3995, allocations: 269.1 kB / 1.375 GB, free: 2.562 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3996, allocations: 8 kB / 1.375 GB, free: 2.555 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3996, allocations: 0 / 1.375 GB, free: 2.555 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3996, allocations: 0 / 1.375 GB, free: 2.555 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.3998, allocations: 39.97 kB / 1.375 GB, free: 2.516 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3998, allocations: 4 kB / 1.375 GB, free: 2.512 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.4, allocations: 27.91 kB / 1.375 GB, free: 2.484 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.4, allocations: 8 kB / 1.375 GB, free: 2.477 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.0002312/0.4002, allocations: 213.7 kB / 1.375 GB, free: 2.258 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.342e-05/0.4003, allocations: 59.61 kB / 1.375 GB, free: 2.199 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003698/0.4007, allocations: 186.4 kB / 1.376 GB, free: 2.012 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.4007, allocations: 7.984 kB / 1.376 GB, free: 2.004 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4007, allocations: 0 / 1.376 GB, free: 2.004 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4007, allocations: 0 / 1.376 GB, free: 2.004 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.401, allocations: 297 kB / 1.376 GB, free: 1.684 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.401, allocations: 7.938 kB / 1.376 GB, free: 1.676 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.164e-05/0.4011, allocations: 12 kB / 1.376 GB, free: 1.664 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4011, allocations: 0 / 1.376 GB, free: 1.664 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.4011, allocations: 4 kB / 1.376 GB, free: 1.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.4011, allocations: 4 kB / 1.376 GB, free: 1.656 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4011, allocations: 3.984 kB / 1.376 GB, free: 1.652 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000457/0.4016, allocations: 267.1 kB / 1.376 GB, free: 1.375 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.4017, allocations: 59.56 kB / 1.376 GB, free: 1.316 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.4017, allocations: 4 kB / 1.376 GB, free: 1.312 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.4019, allocations: 20.05 kB / 1.376 GB, free: 1.293 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.4019, allocations: 23.95 kB / 1.376 GB, free: 1.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.4019, allocations: 4 kB / 1.376 GB, free: 1.266 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000529/0.4025, allocations: 443 kB / 1.377 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4025, allocations: 0 / 1.377 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003086/0.4028, allocations: 63.88 kB / 1.377 GB, free: 0.7773 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.001717/0.4045, allocations: 453.5 kB / 1.377 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003718/0.4049, allocations: 157.1 kB / 1.377 GB, free: 368 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4049, allocations: 4 kB / 1.377 GB, free: 364 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.405, allocations: 55.91 kB / 1.377 GB, free: 308 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.4054, allocations: 79.19 kB / 1.378 GB, free: 232 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.407, allocations: 0.9015 MB / 1.378 GB, free: 15.29 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.4072, allocations: 261.8 kB / 1.379 GB, free: 15.01 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.008e-05/0.4073, allocations: 31.44 kB / 1.379 GB, free: 14.98 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/0.4073, allocations: 0 / 1.379 GB, free: 14.98 MB / 1.076 GB Notification: Performance of Templates: time 0.009799/0.4171, allocations: 5.703 MB / 1.384 GB, free: 9.281 MB / 1.076 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=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/jenkins1/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: 12.26485941791907]