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.001478/0.001478, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001743/0.001743, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.652/1.652, allocations: 230.6 MB / 256 MB, free: 7.969 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.851/2.851, allocations: 476.7 MB / 0.7707 GB, free: 4.238 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.002264/0.002264, allocations: 68.39 kB / 1.118 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4914/0.4936, allocations: 170 MB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.005562/0.4992, allocations: 2.492 MB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003705/0.5029, allocations: 1.685 MB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004143/0.5033, allocations: 11.88 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.5043, allocations: 230.9 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008656/0.5052, allocations: 195 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006827/0.5059, allocations: 159.5 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007675/0.5066, allocations: 366.8 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000254/0.5069, allocations: 64.88 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.5072, allocations: 151.3 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002571/0.5074, allocations: 163.2 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.785e-05/0.5075, allocations: 20 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.5077, allocations: 63.98 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001551/0.5079, allocations: 131.5 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.5081, allocations: 194.6 kB / 1.29 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007656/0.5088, allocations: 0.5171 MB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5088, allocations: 0 / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.935e-06/0.5088, allocations: 4 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.5088, allocations: 0 / 1.29 GB, free: 4.73 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.001497/0.5103, allocations: 0.7504 MB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.5104, allocations: 12.03 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.5105, allocations: 64.52 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.5112, allocations: 371.4 kB / 1.291 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.5112, allocations: 16.36 kB / 1.291 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.5112, allocations: 19.88 kB / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.5115, allocations: 141.5 kB / 1.291 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.5115, allocations: 3.984 kB / 1.291 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.5116, allocations: 4 kB / 1.291 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.5116, allocations: 4 kB / 1.291 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.5118, allocations: 84.66 kB / 1.292 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.513, allocations: 0.6086 MB / 1.292 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/0.5135, allocations: 130.6 kB / 1.292 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.5136, allocations: 44.84 kB / 1.292 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.5136, allocations: 4 kB / 1.292 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.5138, allocations: 99.36 kB / 1.292 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.5138, allocations: 0 / 1.292 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0005465/0.5144, allocations: 221.1 kB / 1.293 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.5144, allocations: 51.41 kB / 1.293 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008834/0.5153, allocations: 0.6681 MB / 1.293 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/0.5154, allocations: 33.69 kB / 1.293 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.5156, allocations: 260.4 kB / 1.294 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.325e-05/0.5157, allocations: 35.73 kB / 1.294 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.5158, allocations: 61.64 kB / 1.294 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002507/0.5161, allocations: 366.8 kB / 1.294 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.5162, allocations: 75.97 kB / 1.294 GB, free: 472 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.5164, allocations: 120.5 kB / 1.294 GB, free: 340 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.5167, allocations: 136.6 kB / 1.294 GB, free: 200 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5167, allocations: 0 / 1.294 GB, free: 200 kB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000471/0.5172, allocations: 269.1 kB / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.5172, allocations: 8 kB / 1.295 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.5172, allocations: 0 / 1.295 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.5172, allocations: 3.938 kB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.5174, allocations: 44.03 kB / 1.295 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.5174, allocations: 0 / 1.295 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.5176, allocations: 35.81 kB / 1.295 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.5176, allocations: 4 kB / 1.295 GB, free: 15.83 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.0002786/0.5179, allocations: 214.2 kB / 1.295 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.12e-05/0.518, allocations: 51.67 kB / 1.295 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00041/0.5184, allocations: 190.8 kB / 1.295 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.5184, allocations: 4 kB / 1.295 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5184, allocations: 0 / 1.295 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5184, allocations: 3.938 kB / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.5189, allocations: 356.3 kB / 1.295 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.5189, allocations: 3.984 kB / 1.295 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.357e-05/0.5189, allocations: 11.94 kB / 1.295 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5189, allocations: 0 / 1.295 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.519, allocations: 0 / 1.295 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.519, allocations: 4 kB / 1.295 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.519, allocations: 0 / 1.295 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005071/0.5195, allocations: 268.6 kB / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.771e-05/0.5196, allocations: 51.64 kB / 1.296 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-05/0.5196, allocations: 8 kB / 1.296 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.5197, allocations: 19.92 kB / 1.296 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/0.5198, allocations: 19.97 kB / 1.296 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.5198, allocations: 7.984 kB / 1.296 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005815/0.5204, allocations: 443.1 kB / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.5204, allocations: 0 / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003098/0.5207, allocations: 59.94 kB / 1.296 GB, free: 14.08 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.001732/0.5225, allocations: 429.3 kB / 1.297 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003878/0.5229, allocations: 147.8 kB / 1.297 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5229, allocations: 0 / 1.297 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.523, allocations: 59.97 kB / 1.297 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/0.5235, allocations: 78.94 kB / 1.297 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.5251, allocations: 0.8643 MB / 1.298 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/0.5257, allocations: 0.8611 MB / 1.299 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001457/0.5258, allocations: 38.27 kB / 1.299 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.829e-05/0.5259, allocations: 27.42 kB / 1.299 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.5259, allocations: 0 / 1.299 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of Templates: time 0.01203/0.538, allocations: 4.183 MB / 1.303 GB, free: 7.539 MB / 0.9981 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 -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/jenkins/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: 10.020642242860049]