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.001853/0.001853, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.002443/0.002443, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.211/3.211, allocations: 0.505 GB / 0.8108 GB, free: 22.08 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.002066/0.002066, allocations: 65.91 kB / 1.178 GB, free: 16.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3659, allocations: 180.2 MB / 1.354 GB, free: 7.977 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004849/0.3707, allocations: 2.5 MB / 1.357 GB, free: 5.469 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003095/0.3738, allocations: 1.681 MB / 1.358 GB, free: 3.781 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.374, allocations: 7.938 kB / 1.358 GB, free: 3.773 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007237/0.3748, allocations: 218.9 kB / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00049/0.3753, allocations: 199 kB / 1.359 GB, free: 3.363 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.3756, allocations: 159.5 kB / 1.359 GB, free: 3.207 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004774/0.3761, allocations: 358.8 kB / 1.359 GB, free: 2.855 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.3763, allocations: 68.88 kB / 1.359 GB, free: 2.789 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.3766, allocations: 159.3 kB / 1.359 GB, free: 2.633 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.3768, allocations: 159.3 kB / 1.359 GB, free: 2.477 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.3768, allocations: 20 kB / 1.359 GB, free: 2.457 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.377, allocations: 71.91 kB / 1.36 GB, free: 2.387 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.3771, allocations: 127.5 kB / 1.36 GB, free: 2.262 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.3773, allocations: 194.5 kB / 1.36 GB, free: 2.07 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000647/0.378, allocations: 0.5055 MB / 1.36 GB, free: 1.562 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.378, allocations: 0 / 1.36 GB, free: 1.562 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.595e-06/0.378, allocations: 4 kB / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.378, allocations: 3.938 kB / 1.36 GB, free: 1.555 MB / 1.045 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.001283/0.3793, allocations: 0.7561 MB / 1.361 GB, free: 0.7656 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3793, allocations: 12.02 kB / 1.361 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.3794, allocations: 68.5 kB / 1.361 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000565/0.38, allocations: 375.4 kB / 1.362 GB, free: 300 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.38, allocations: 8.375 kB / 1.362 GB, free: 292 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.38, allocations: 19.94 kB / 1.362 GB, free: 272 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.3803, allocations: 134.8 kB / 1.362 GB, free: 132 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3803, allocations: 0 / 1.362 GB, free: 132 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.3803, allocations: 7.984 kB / 1.362 GB, free: 124 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3803, allocations: 4 kB / 1.362 GB, free: 120 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.3805, allocations: 75.97 kB / 1.362 GB, free: 44 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.3816, allocations: 0.6125 MB / 1.362 GB, free: 15.39 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.382, allocations: 126.7 kB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.829e-05/0.3821, allocations: 44.84 kB / 1.363 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.3821, allocations: 4 kB / 1.363 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.3823, allocations: 107.2 kB / 1.363 GB, free: 15.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/0.3823, allocations: 0 / 1.363 GB, free: 15.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.000469/0.3828, allocations: 217.2 kB / 1.363 GB, free: 14.87 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.3829, allocations: 55.41 kB / 1.363 GB, free: 14.8 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007711/0.3836, allocations: 0.6642 MB / 1.364 GB, free: 14.12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.3837, allocations: 37.64 kB / 1.364 GB, free: 14.08 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.3839, allocations: 260.4 kB / 1.364 GB, free: 13.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.3839, allocations: 43.62 kB / 1.364 GB, free: 13.78 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-05/0.384, allocations: 61.62 kB / 1.364 GB, free: 13.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.3842, allocations: 366.8 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.3844, allocations: 79.95 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.3846, allocations: 120 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.3848, allocations: 128.5 kB / 1.365 GB, free: 13.01 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3848, allocations: 0 / 1.365 GB, free: 13.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004286/0.3852, allocations: 278.5 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3852, allocations: 4 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3852, allocations: 4 kB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.3853, allocations: 3.984 kB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.3854, allocations: 39.98 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.3854, allocations: 4 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.3856, allocations: 23.94 kB / 1.365 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.3856, allocations: 11.98 kB / 1.365 GB, free: 12.64 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.0002327/0.3859, allocations: 201.7 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/0.3859, allocations: 59.56 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003777/0.3863, allocations: 194.3 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3863, allocations: 3.984 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3863, allocations: 0 / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3863, allocations: 7.938 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000376/0.3867, allocations: 352.4 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.3867, allocations: 4 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.999e-05/0.3868, allocations: 8 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3868, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.3868, allocations: 3.984 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3868, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3868, allocations: 3.938 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.3873, allocations: 269.1 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.3874, allocations: 59.64 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/0.3874, allocations: 8 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.3875, allocations: 7.984 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.3876, allocations: 27.95 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.3876, allocations: 0 / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000493/0.3881, allocations: 447.1 kB / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3881, allocations: 0 / 1.367 GB, free: 10.95 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003039/0.3884, allocations: 67.88 kB / 1.367 GB, free: 10.88 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 (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.00158/0.39, allocations: 427 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003569/0.3904, allocations: 151.8 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3904, allocations: 64 / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.3905, allocations: 51.98 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.3909, allocations: 73.25 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.3923, allocations: 0.9015 MB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.3929, allocations: 0.8649 MB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.089e-05/0.3929, allocations: 27.44 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.3929, allocations: 0 / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of Templates: time 0.008938/0.4019, allocations: 5.54 MB / 1.374 GB, free: 2.961 MB / 1.061 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.272039455012418]