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.001733/0.001733, allocations: 77.47 kB / 19.76 MB, free: 2.027 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.002352/0.002352, allocations: 157.2 kB / 23.01 MB, free: 4.949 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.547/1.547, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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.767/2.767, allocations: 359.1 MB / 0.6044 GB, free: 14.89 MB / 0.5762 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.002117/0.002117, allocations: 64.19 kB / 0.9515 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3915, allocations: 169.9 MB / 1.117 GB, free: 2.598 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004462/0.3959, allocations: 2.373 MB / 1.12 GB, free: 216 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003014/0.3989, allocations: 1.56 MB / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.3991, allocations: 7.938 kB / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007429/0.3999, allocations: 222.9 kB / 1.122 GB, free: 14.42 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0005352/0.4004, allocations: 195.1 kB / 1.122 GB, free: 14.23 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.4008, allocations: 163.5 kB / 1.122 GB, free: 14.07 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005033/0.4014, allocations: 366.8 kB / 1.122 GB, free: 13.71 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.4016, allocations: 56.89 kB / 1.122 GB, free: 13.65 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.4018, allocations: 147.3 kB / 1.122 GB, free: 13.51 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.402, allocations: 155.2 kB / 1.123 GB, free: 13.36 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.704e-05/0.402, allocations: 24 kB / 1.123 GB, free: 13.33 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.4022, allocations: 63.97 kB / 1.123 GB, free: 13.27 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.4024, allocations: 127.5 kB / 1.123 GB, free: 13.14 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.4025, allocations: 146.8 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006813/0.4032, allocations: 0.521 MB / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4032, allocations: 0 / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4032, allocations: 0 / 1.123 GB, free: 12.48 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.4032, allocations: 0 / 1.123 GB, free: 12.48 MB / 1.076 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.001323/0.4045, allocations: 0.7523 MB / 1.124 GB, free: 11.69 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.4046, allocations: 19.95 kB / 1.124 GB, free: 11.67 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.4047, allocations: 56.56 kB / 1.124 GB, free: 11.62 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000614/0.4053, allocations: 375.4 kB / 1.125 GB, free: 11.23 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.4053, allocations: 12.38 kB / 1.125 GB, free: 11.21 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.4054, allocations: 15.94 kB / 1.125 GB, free: 11.2 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.4057, allocations: 189 kB / 1.125 GB, free: 11 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4057, allocations: 0 / 1.125 GB, free: 11 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.4057, allocations: 4 kB / 1.125 GB, free: 10.99 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.4058, allocations: 11.94 kB / 1.125 GB, free: 10.98 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.406, allocations: 83.95 kB / 1.125 GB, free: 10.9 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.407, allocations: 0.535 MB / 1.125 GB, free: 10.33 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.4073, allocations: 130.7 kB / 1.126 GB, free: 10.2 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.4074, allocations: 48.78 kB / 1.126 GB, free: 10.14 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.4075, allocations: 4 kB / 1.126 GB, free: 10.14 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002687/0.4077, allocations: 154.7 kB / 1.126 GB, free: 9.965 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.4077, allocations: 0 / 1.126 GB, free: 9.965 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0004792/0.4082, allocations: 217.1 kB / 1.126 GB, free: 9.746 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.4083, allocations: 51.41 kB / 1.126 GB, free: 9.684 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008003/0.4091, allocations: 0.6681 MB / 1.127 GB, free: 9.008 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.4091, allocations: 33.7 kB / 1.127 GB, free: 8.969 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.4094, allocations: 256.4 kB / 1.127 GB, free: 8.715 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.4094, allocations: 43.66 kB / 1.127 GB, free: 8.672 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.391e-05/0.4095, allocations: 65.64 kB / 1.127 GB, free: 8.602 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.4097, allocations: 366.8 kB / 1.127 GB, free: 8.234 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.4098, allocations: 79.95 kB / 1.127 GB, free: 8.156 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.4101, allocations: 166.8 kB / 1.128 GB, free: 7.969 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.4103, allocations: 117.6 kB / 1.128 GB, free: 7.848 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.4103, allocations: 4 kB / 1.128 GB, free: 7.844 MB / 1.076 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004639/0.4108, allocations: 283.1 kB / 1.128 GB, free: 7.562 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.4108, allocations: 6.656 kB / 1.128 GB, free: 7.559 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.4108, allocations: 4.062 kB / 1.128 GB, free: 7.555 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.4108, allocations: 4 kB / 1.128 GB, free: 7.551 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.411, allocations: 35.92 kB / 1.128 GB, free: 7.516 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.411, allocations: 0 / 1.128 GB, free: 7.516 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.4112, allocations: 31.86 kB / 1.128 GB, free: 7.484 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.4112, allocations: 12 kB / 1.128 GB, free: 7.473 MB / 1.076 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.0002635/0.4115, allocations: 205.7 kB / 1.128 GB, free: 7.262 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.591e-05/0.4116, allocations: 51.67 kB / 1.128 GB, free: 7.211 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004012/0.412, allocations: 194.4 kB / 1.128 GB, free: 7.016 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.412, allocations: 0 / 1.128 GB, free: 7.016 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.412, allocations: 3.938 kB / 1.129 GB, free: 7.012 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.412, allocations: 4 kB / 1.129 GB, free: 7.008 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.4123, allocations: 285.1 kB / 1.129 GB, free: 6.699 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.4123, allocations: 7.938 kB / 1.129 GB, free: 6.691 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.679e-05/0.4124, allocations: 19.92 kB / 1.129 GB, free: 6.672 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4124, allocations: 0 / 1.129 GB, free: 6.672 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.4124, allocations: 4 kB / 1.129 GB, free: 6.668 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4124, allocations: 0 / 1.129 GB, free: 6.668 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4124, allocations: 0 / 1.129 GB, free: 6.668 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005379/0.413, allocations: 273.9 kB / 1.129 GB, free: 6.383 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.036e-05/0.4131, allocations: 51.59 kB / 1.129 GB, free: 6.332 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/0.4131, allocations: 11.98 kB / 1.129 GB, free: 6.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.4133, allocations: 15.98 kB / 1.129 GB, free: 6.305 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.457e-05/0.4133, allocations: 23.91 kB / 1.129 GB, free: 6.281 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.4134, allocations: 11.92 kB / 1.129 GB, free: 6.27 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005472/0.4139, allocations: 443 kB / 1.13 GB, free: 5.84 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4139, allocations: 0 / 1.13 GB, free: 5.84 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003311/0.4142, allocations: 59.89 kB / 1.13 GB, free: 5.781 MB / 1.076 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.001798/0.416, allocations: 457.4 kB / 1.13 GB, free: 5.516 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003405/0.4164, allocations: 143.9 kB / 1.13 GB, free: 5.375 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.4164, allocations: 4 kB / 1.13 GB, free: 5.371 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.4165, allocations: 55.91 kB / 1.13 GB, free: 5.316 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.417, allocations: 79 kB / 1.13 GB, free: 5.242 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.4184, allocations: 0.8527 MB / 1.131 GB, free: 4.355 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.4187, allocations: 258.5 kB / 1.131 GB, free: 4.082 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.4188, allocations: 50.94 kB / 1.131 GB, free: 4.031 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.807e-05/0.4189, allocations: 24.5 kB / 1.132 GB, free: 4.004 MB / 1.076 GB Notification: Performance of SimCode: time 9.72e-07/0.4189, allocations: 0 / 1.132 GB, free: 4.004 MB / 1.076 GB Notification: Performance of Templates: time 0.7657/1.185, allocations: 4.194 MB / 1.136 GB, free: 58.38 MB / 1.076 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 ida -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: 9.622062797076069]