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.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.001753/0.001753, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.002112/0.002112, allocations: 213.8 kB / 23.01 MB, free: 5.109 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.937/2.937, allocations: 476.8 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002084/0.002084, allocations: 68.86 kB / 1.119 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3623, allocations: 169.9 MB / 1.285 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004741/0.367, allocations: 2.491 MB / 1.287 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002906/0.3699, allocations: 1.681 MB / 1.289 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.3701, allocations: 7.938 kB / 1.289 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006991/0.3708, allocations: 222.9 kB / 1.289 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005043/0.3713, allocations: 205.5 kB / 1.289 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.3717, allocations: 167.4 kB / 1.289 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004922/0.3722, allocations: 362.8 kB / 1.29 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.3724, allocations: 63.41 kB / 1.29 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.3726, allocations: 159.3 kB / 1.29 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.3729, allocations: 155.3 kB / 1.29 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.334e-05/0.3729, allocations: 27.94 kB / 1.29 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.3731, allocations: 63.97 kB / 1.29 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.3732, allocations: 131.5 kB / 1.29 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.3734, allocations: 198.5 kB / 1.29 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000663/0.374, allocations: 0.5093 MB / 1.291 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3741, allocations: 4 kB / 1.291 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3741, allocations: 0 / 1.291 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.3741, allocations: 0 / 1.291 GB, free: 12.88 MB / 0.9981 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.001332/0.3754, allocations: 0.7523 MB / 1.292 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3754, allocations: 12.03 kB / 1.292 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.3755, allocations: 64.52 kB / 1.292 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005927/0.3761, allocations: 379.3 kB / 1.292 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.3762, allocations: 8.375 kB / 1.292 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.3762, allocations: 15.94 kB / 1.292 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.3765, allocations: 137.6 kB / 1.292 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3765, allocations: 0 / 1.292 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.3765, allocations: 8 kB / 1.292 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3765, allocations: 4 kB / 1.292 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.3767, allocations: 83.91 kB / 1.292 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.3778, allocations: 0.6048 MB / 1.293 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004017/0.3782, allocations: 126.7 kB / 1.293 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.3783, allocations: 52.77 kB / 1.293 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.3783, allocations: 0 / 1.293 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.3785, allocations: 115.2 kB / 1.293 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.3785, allocations: 0 / 1.293 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0004905/0.379, allocations: 209.3 kB / 1.293 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.3791, allocations: 51.41 kB / 1.293 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007781/0.3799, allocations: 0.6719 MB / 1.294 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.3799, allocations: 37.64 kB / 1.294 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.3801, allocations: 264.4 kB / 1.294 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.182e-05/0.3802, allocations: 27.75 kB / 1.294 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.364e-05/0.3803, allocations: 61.64 kB / 1.294 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002153/0.3805, allocations: 374.8 kB / 1.295 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.3806, allocations: 75.97 kB / 1.295 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.3808, allocations: 115.4 kB / 1.295 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.381, allocations: 129.6 kB / 1.295 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.381, allocations: 0 / 1.295 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000445/0.3815, allocations: 279.2 kB / 1.295 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.3815, allocations: 11.98 kB / 1.295 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3815, allocations: 0 / 1.295 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3815, allocations: 4 kB / 1.295 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.3817, allocations: 35.92 kB / 1.295 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3817, allocations: 0 / 1.295 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.3819, allocations: 27.91 kB / 1.295 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.3819, allocations: 8 kB / 1.295 GB, free: 7.98 MB / 0.9981 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.0002336/0.3822, allocations: 210.2 kB / 1.296 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-05/0.3822, allocations: 59.61 kB / 1.296 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003876/0.3826, allocations: 194.3 kB / 1.296 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3826, allocations: 0 / 1.296 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3826, allocations: 0 / 1.296 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3826, allocations: 0 / 1.296 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003907/0.383, allocations: 356.3 kB / 1.296 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.383, allocations: 0 / 1.296 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.673e-05/0.3831, allocations: 8 kB / 1.296 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3831, allocations: 3.938 kB / 1.296 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.3831, allocations: 11.98 kB / 1.296 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3831, allocations: 0 / 1.296 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3831, allocations: 0 / 1.296 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004506/0.3835, allocations: 260.6 kB / 1.297 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.527e-05/0.3836, allocations: 55.64 kB / 1.297 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.3837, allocations: 4 kB / 1.297 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.3838, allocations: 20.05 kB / 1.297 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.676e-05/0.3839, allocations: 27.95 kB / 1.297 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.3839, allocations: 4 kB / 1.297 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005177/0.3844, allocations: 439 kB / 1.297 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3844, allocations: 0 / 1.297 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002954/0.3847, allocations: 63.92 kB / 1.297 GB, free: 6.23 MB / 0.9981 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.001602/0.3863, allocations: 432.5 kB / 1.298 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003716/0.3867, allocations: 151.8 kB / 1.298 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3867, allocations: 0 / 1.298 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.3868, allocations: 51.98 kB / 1.298 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.3873, allocations: 69.28 kB / 1.298 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.3888, allocations: 0.9091 MB / 1.299 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/0.3893, allocations: 0.8611 MB / 1.299 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.303e-05/0.3894, allocations: 27.42 kB / 1.3 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.3894, allocations: 0 / 1.3 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of Templates: time 0.009257/0.3986, allocations: 5.549 MB / 1.305 GB, free: 14.31 MB / 1.014 GB " [Timeout remaining time 300] 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 -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/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: 12.300359265005682]