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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 189.8 kB / 22.23 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.286/3.286, allocations: 496 MB / 0.7835 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 65.42 kB / 1.138 GB, free: 33.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4909/0.493, allocations: 173.6 MB / 1.307 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004946/0.4979, allocations: 2.478 MB / 1.31 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002888/0.5008, allocations: 1.533 MB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.501, allocations: 11.88 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007686/0.5018, allocations: 219.1 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004246/0.5022, allocations: 163.2 kB / 1.312 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005246/0.5028, allocations: 195.5 kB / 1.312 GB, free: 13.19 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005535/0.5033, allocations: 350.8 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002205/0.5035, allocations: 64.62 kB / 1.312 GB, free: 12.78 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002641/0.5038, allocations: 147.4 kB / 1.312 GB, free: 12.63 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.504, allocations: 167.2 kB / 1.312 GB, free: 12.47 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.14e-05/0.5041, allocations: 20 kB / 1.312 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.5043, allocations: 71.95 kB / 1.313 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.5045, allocations: 123.5 kB / 1.313 GB, free: 12.26 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.5047, allocations: 190.6 kB / 1.313 GB, free: 12.07 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007994/0.5055, allocations: 0.5093 MB / 1.313 GB, free: 11.56 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.5055, allocations: 0 / 1.313 GB, free: 11.56 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5055, allocations: 0 / 1.313 GB, free: 11.56 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.5055, allocations: 4 kB / 1.313 GB, free: 11.55 MB / 1.014 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.001447/0.5069, allocations: 0.7426 MB / 1.314 GB, free: 10.78 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.507, allocations: 12.92 kB / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.5071, allocations: 64.45 kB / 1.314 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006058/0.5077, allocations: 366.6 kB / 1.315 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.5077, allocations: 8.375 kB / 1.315 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/0.5078, allocations: 27.88 kB / 1.315 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/0.5081, allocations: 129.6 kB / 1.315 GB, free: 10.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.5081, allocations: 0 / 1.315 GB, free: 10.16 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.5082, allocations: 12 kB / 1.315 GB, free: 10.14 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.5082, allocations: 0 / 1.315 GB, free: 10.14 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.5084, allocations: 88.59 kB / 1.315 GB, free: 10.06 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.5096, allocations: 0.6047 MB / 1.315 GB, free: 9.41 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.51, allocations: 130.6 kB / 1.315 GB, free: 9.273 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.5101, allocations: 40.84 kB / 1.316 GB, free: 9.23 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.5102, allocations: 0 / 1.316 GB, free: 9.23 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.5104, allocations: 115.3 kB / 1.316 GB, free: 9.105 MB / 1.014 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.5104, allocations: 0 / 1.316 GB, free: 9.105 MB / 1.014 GB Notification: Performance of matching and sorting (n=12): time 0.0005099/0.5109, allocations: 217.1 kB / 1.316 GB, free: 8.887 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/0.511, allocations: 55.41 kB / 1.316 GB, free: 8.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009257/0.5119, allocations: 0.6476 MB / 1.317 GB, free: 8.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.512, allocations: 29.7 kB / 1.317 GB, free: 8.125 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/0.5122, allocations: 264.4 kB / 1.317 GB, free: 7.863 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.5123, allocations: 35.69 kB / 1.317 GB, free: 7.828 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.5124, allocations: 61.69 kB / 1.317 GB, free: 7.762 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.00023/0.5126, allocations: 362.8 kB / 1.317 GB, free: 7.398 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.5128, allocations: 75.97 kB / 1.317 GB, free: 7.324 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.513, allocations: 116 kB / 1.317 GB, free: 7.199 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.5132, allocations: 137.7 kB / 1.318 GB, free: 7.062 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5132, allocations: 0 / 1.318 GB, free: 7.062 MB / 1.014 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004545/0.5137, allocations: 273.1 kB / 1.318 GB, free: 6.789 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.5137, allocations: 4 kB / 1.318 GB, free: 6.785 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.5137, allocations: 0 / 1.318 GB, free: 6.785 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.5137, allocations: 0 / 1.318 GB, free: 6.785 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.5139, allocations: 43.91 kB / 1.318 GB, free: 6.742 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.5139, allocations: 3.938 kB / 1.318 GB, free: 6.738 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.5141, allocations: 27.97 kB / 1.318 GB, free: 6.711 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.5141, allocations: 8 kB / 1.318 GB, free: 6.703 MB / 1.014 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.0002559/0.5144, allocations: 214.9 kB / 1.318 GB, free: 6.484 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.248e-05/0.5144, allocations: 55.62 kB / 1.318 GB, free: 6.43 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.5148, allocations: 182.3 kB / 1.318 GB, free: 6.246 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.5148, allocations: 0 / 1.318 GB, free: 6.246 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.5148, allocations: 0 / 1.318 GB, free: 6.246 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5148, allocations: 11.94 kB / 1.318 GB, free: 6.234 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.5153, allocations: 344.4 kB / 1.319 GB, free: 5.855 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5153, allocations: 0 / 1.319 GB, free: 5.855 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.401e-05/0.5154, allocations: 15.92 kB / 1.319 GB, free: 5.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.5154, allocations: 4 kB / 1.319 GB, free: 5.836 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.5154, allocations: 0 / 1.319 GB, free: 5.836 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5154, allocations: 0 / 1.319 GB, free: 5.836 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5154, allocations: 0 / 1.319 GB, free: 5.836 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005149/0.5159, allocations: 273.1 kB / 1.319 GB, free: 5.551 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.223e-05/0.516, allocations: 47.62 kB / 1.319 GB, free: 5.504 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/0.5161, allocations: 7.984 kB / 1.319 GB, free: 5.496 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.5162, allocations: 19.98 kB / 1.319 GB, free: 5.477 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.86e-05/0.5163, allocations: 19.97 kB / 1.319 GB, free: 5.457 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.5163, allocations: 7.984 kB / 1.319 GB, free: 5.449 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006448/0.5169, allocations: 426.8 kB / 1.319 GB, free: 5.035 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.5169, allocations: 0 / 1.319 GB, free: 5.035 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002936/0.5172, allocations: 71.8 kB / 1.32 GB, free: 4.965 MB / 1.014 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.001592/0.5188, allocations: 422.5 kB / 1.32 GB, free: 4.703 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003683/0.5192, allocations: 143.9 kB / 1.32 GB, free: 4.562 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.5192, allocations: 4 kB / 1.32 GB, free: 4.559 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.5193, allocations: 47.92 kB / 1.32 GB, free: 4.512 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.5198, allocations: 84.31 kB / 1.32 GB, free: 4.438 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.5214, allocations: 0.8565 MB / 1.321 GB, free: 3.547 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/0.522, allocations: 0.8494 MB / 1.322 GB, free: 2.672 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001242/0.5221, allocations: 46.25 kB / 1.322 GB, free: 2.629 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.128e-05/0.5222, allocations: 31.38 kB / 1.322 GB, free: 2.598 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/0.5222, allocations: 4 kB / 1.322 GB, free: 2.594 MB / 1.014 GB Notification: Performance of Templates: time 0.01107/0.5333, allocations: 4.121 MB / 1.326 GB, free: 14.5 MB / 1.029 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: 9.915332469157875]