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.002038/0.002038, allocations: 78.02 kB / 19.18 MB, free: 2.531 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.00298/0.00298, allocations: 170.7 kB / 22.46 MB, free: 5.359 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.578/1.578, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.761/2.761, allocations: 359 MB / 0.6037 GB, free: 14.94 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.38e-05/3.583e-05, allocations: 6.281 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004505/0.00454, allocations: 2.369 MB / 0.9533 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003177/0.007718, allocations: 1.56 MB / 0.9548 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.007914, allocations: 7.938 kB / 0.9548 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007894/0.008703, allocations: 222.8 kB / 0.955 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005514/0.009254, allocations: 198.9 kB / 0.9552 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.009681, allocations: 167.4 kB / 0.9554 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005026/0.01018, allocations: 366.6 kB / 0.9557 GB, free: 6.617 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.01039, allocations: 60.89 kB / 0.9558 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002868/0.01068, allocations: 191.5 kB / 0.956 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.01092, allocations: 135.6 kB / 0.9561 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.861e-05/0.01097, allocations: 24 kB / 0.9561 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.01114, allocations: 67.84 kB / 0.9562 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.01131, allocations: 131.5 kB / 0.9563 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.01145, allocations: 103.6 kB / 0.9564 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007094/0.01216, allocations: 0.4982 MB / 0.9569 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.01217, allocations: 3.938 kB / 0.9569 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.292e-06/0.01217, allocations: 0 / 0.9569 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.01218, allocations: 0 / 0.9569 GB, free: 5.414 MB / 0.8575 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.001454/0.01363, allocations: 0.7484 MB / 0.9577 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.01367, allocations: 8.031 kB / 0.9577 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.01378, allocations: 60.56 kB / 0.9577 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006/0.01438, allocations: 370.7 kB / 0.9581 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.01441, allocations: 8.375 kB / 0.9581 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.01445, allocations: 16.38 kB / 0.9581 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.01481, allocations: 190 kB / 0.9583 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.01482, allocations: 4 kB / 0.9583 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.01484, allocations: 8 kB / 0.9583 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.01485, allocations: 4 kB / 0.9583 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.01507, allocations: 88.59 kB / 0.9584 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.01613, allocations: 0.5311 MB / 0.9589 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.01649, allocations: 138.6 kB / 0.959 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.01659, allocations: 40.84 kB / 0.9591 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.01662, allocations: 4 kB / 0.9591 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002708/0.01689, allocations: 158.6 kB / 0.9592 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.01689, allocations: 0 / 0.9592 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0005381/0.01743, allocations: 217.2 kB / 0.9594 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.0175, allocations: 59.34 kB / 0.9595 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008373/0.01834, allocations: 0.6681 MB / 0.9601 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.01837, allocations: 37.64 kB / 0.9602 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.01862, allocations: 256.5 kB / 0.9604 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/0.01867, allocations: 43.69 kB / 0.9605 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-05/0.01877, allocations: 53.7 kB / 0.9605 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002212/0.01899, allocations: 370.8 kB / 0.9609 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.01915, allocations: 75.97 kB / 0.9609 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.01938, allocations: 170.8 kB / 0.9611 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.01962, allocations: 127 kB / 0.9612 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01963, allocations: 0 / 0.9612 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004612/0.02009, allocations: 271.2 kB / 0.9615 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.02011, allocations: 11.94 kB / 0.9615 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.02011, allocations: 4.062 kB / 0.9615 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.02013, allocations: 0 / 0.9615 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.02033, allocations: 39.91 kB / 0.9615 GB, free: 476 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.02034, allocations: 4 kB / 0.9615 GB, free: 472 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.02052, allocations: 27.88 kB / 0.9616 GB, free: 444 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.02055, allocations: 8 kB / 0.9616 GB, free: 436 kB / 0.8575 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.0002514/0.0208, allocations: 210.4 kB / 0.9618 GB, free: 216 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.02087, allocations: 63.56 kB / 0.9618 GB, free: 152 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004414/0.02132, allocations: 186.5 kB / 0.962 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.02132, allocations: 4 kB / 0.962 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.02133, allocations: 0 / 0.962 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.02133, allocations: 3.984 kB / 0.962 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.02168, allocations: 289.1 kB / 0.9623 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.02168, allocations: 0 / 0.9623 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.556e-05/0.02176, allocations: 15.92 kB / 0.9623 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.02176, allocations: 0 / 0.9623 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.02178, allocations: 11.94 kB / 0.9623 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.02178, allocations: 0 / 0.9623 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.02178, allocations: 4 kB / 0.9623 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004797/0.02226, allocations: 262.4 kB / 0.9626 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-05/0.02235, allocations: 55.64 kB / 0.9626 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.0224, allocations: 19.81 kB / 0.9626 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.02253, allocations: 11.98 kB / 0.9627 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.477e-05/0.02262, allocations: 23.95 kB / 0.9627 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.02264, allocations: 8 kB / 0.9627 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005387/0.02318, allocations: 439 kB / 0.9631 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of sort global known variables: time 9e-08/0.02318, allocations: 0 / 0.9631 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00034/0.02352, allocations: 71.94 kB / 0.9632 GB, free: 14.72 MB / 0.8731 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.001812/0.02533, allocations: 454.8 kB / 0.9636 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004492/0.02578, allocations: 151.7 kB / 0.9638 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.02578, allocations: 0 / 0.9638 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.02593, allocations: 51.98 kB / 0.9638 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005311/0.02646, allocations: 87.61 kB / 0.9639 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.02839, allocations: 0.8159 MB / 0.9647 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.02875, allocations: 254.5 kB / 0.9649 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001873/0.02893, allocations: 50.94 kB / 0.965 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.02904, allocations: 32.48 kB / 0.965 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of SimCode: time 1.814e-06/0.02904, allocations: 11.88 kB / 0.965 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of Templates: time 0.01371/0.04275, allocations: 4.192 MB / 0.9691 GB, free: 8.844 MB / 0.8731 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/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: 8.838582191616297]