Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002068/0.002068, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002945/0.002945, allocations: 214.2 kB / 22.25 MB, free: 5.258 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.644/1.644, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.551/3.551, allocations: 0.4892 GB / 0.7943 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002156/0.002156, allocations: 68.23 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.491/0.4932, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.005657/0.4988, allocations: 2.378 MB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003715/0.5025, allocations: 1.556 MB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003711/0.5029, allocations: 7.938 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.5039, allocations: 214.9 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009127/0.5048, allocations: 203.1 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007159/0.5055, allocations: 159.5 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007784/0.5063, allocations: 354.8 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002673/0.5066, allocations: 60.88 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003219/0.5069, allocations: 155.3 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.5072, allocations: 147.3 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.832e-05/0.5073, allocations: 24 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.5075, allocations: 67.91 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.5077, allocations: 131.5 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.5079, allocations: 146.9 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008454/0.5087, allocations: 0.5132 MB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.5087, allocations: 0 / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.484e-06/0.5087, allocations: 0 / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.656e-05/0.5088, allocations: 0 / 1.331 GB, free: 11.75 MB / 1.029 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.001706/0.5105, allocations: 0.7545 MB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.5105, allocations: 12.03 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.5107, allocations: 72.5 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007712/0.5115, allocations: 371.4 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.5115, allocations: 12.38 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.939e-05/0.5115, allocations: 15.94 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003891/0.5119, allocations: 185.7 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.5119, allocations: 0 / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.512, allocations: 8 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.512, allocations: 0 / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.5122, allocations: 91.89 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.5134, allocations: 0.5428 MB / 1.333 GB, free: 9.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.5138, allocations: 122.8 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.5139, allocations: 48.72 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.514, allocations: 4 kB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/0.5142, allocations: 150.8 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.5142, allocations: 4 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0005559/0.5148, allocations: 213.2 kB / 1.334 GB, free: 9.016 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.5149, allocations: 55.41 kB / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009303/0.5158, allocations: 0.6758 MB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.5158, allocations: 29.7 kB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.5161, allocations: 260.4 kB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/0.5161, allocations: 35.73 kB / 1.335 GB, free: 7.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.5163, allocations: 65.52 kB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002178/0.5165, allocations: 366.8 kB / 1.335 GB, free: 7.492 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.5166, allocations: 83.95 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.5169, allocations: 166.8 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.5171, allocations: 124.8 kB / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5171, allocations: 0 / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00053/0.5177, allocations: 281 kB / 1.336 GB, free: 6.816 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.5177, allocations: 11.94 kB / 1.336 GB, free: 6.805 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5177, allocations: 0 / 1.336 GB, free: 6.805 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.5177, allocations: 0 / 1.336 GB, free: 6.805 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.5179, allocations: 35.92 kB / 1.336 GB, free: 6.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.5179, allocations: 4.062 kB / 1.336 GB, free: 6.766 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.5181, allocations: 35.86 kB / 1.336 GB, free: 6.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.5181, allocations: 4 kB / 1.336 GB, free: 6.727 MB / 1.029 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.0002796/0.5184, allocations: 216.6 kB / 1.336 GB, free: 6.508 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/0.5185, allocations: 51.67 kB / 1.336 GB, free: 6.457 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000414/0.5189, allocations: 191.5 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-06/0.5189, allocations: 4 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5189, allocations: 0 / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5189, allocations: 4 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.5193, allocations: 289.1 kB / 1.337 GB, free: 5.945 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.5193, allocations: 3.938 kB / 1.337 GB, free: 5.941 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.161e-05/0.5194, allocations: 15.94 kB / 1.337 GB, free: 5.926 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.5194, allocations: 3.984 kB / 1.337 GB, free: 5.922 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.5194, allocations: 0 / 1.337 GB, free: 5.922 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.5194, allocations: 4 kB / 1.337 GB, free: 5.918 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5194, allocations: 0 / 1.337 GB, free: 5.918 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005373/0.52, allocations: 268.6 kB / 1.337 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.5201, allocations: 59.53 kB / 1.337 GB, free: 5.582 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.5202, allocations: 16.05 kB / 1.337 GB, free: 5.566 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.5203, allocations: 11.98 kB / 1.337 GB, free: 5.555 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.441e-05/0.5204, allocations: 23.97 kB / 1.337 GB, free: 5.531 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.5204, allocations: 11.98 kB / 1.337 GB, free: 5.52 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005764/0.521, allocations: 439 kB / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.521, allocations: 0 / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003449/0.5213, allocations: 63.89 kB / 1.338 GB, free: 5.035 MB / 1.029 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.001855/0.5232, allocations: 463.3 kB / 1.338 GB, free: 4.758 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004096/0.5236, allocations: 149.7 kB / 1.338 GB, free: 4.613 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5236, allocations: 0 / 1.338 GB, free: 4.613 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.5237, allocations: 47.97 kB / 1.338 GB, free: 4.566 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.5242, allocations: 81.83 kB / 1.338 GB, free: 4.488 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.5258, allocations: 0.8489 MB / 1.339 GB, free: 3.609 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.5263, allocations: 258.5 kB / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.5264, allocations: 50.94 kB / 1.34 GB, free: 3.285 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.061e-05/0.5265, allocations: 31.38 kB / 1.34 GB, free: 3.254 MB / 1.029 GB Notification: Performance of SimCode: time 7.71e-07/0.5265, allocations: 4 kB / 1.34 GB, free: 3.25 MB / 1.029 GB Notification: Performance of Templates: time 0.01234/0.5389, allocations: 4.654 MB / 1.344 GB, free: 14.66 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.686333663761616]