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.001351/0.001351, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00151/0.00151, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.772/2.772, allocations: 476 MB / 0.7707 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] 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.001953/0.001953, allocations: 66.3 kB / 1.118 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3849, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.005006/0.3899, allocations: 2.369 MB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003028/0.3929, allocations: 1.56 MB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.3931, allocations: 7.938 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007181/0.3938, allocations: 218.9 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005302/0.3944, allocations: 207 kB / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.3948, allocations: 151.6 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.3952, allocations: 370.7 kB / 1.289 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.3954, allocations: 56.89 kB / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.3956, allocations: 143.4 kB / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.3959, allocations: 163.2 kB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.3959, allocations: 20 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.3961, allocations: 63.98 kB / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.3962, allocations: 127.5 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.3964, allocations: 142.9 kB / 1.289 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006514/0.397, allocations: 0.521 MB / 1.29 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.397, allocations: 0 / 1.29 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.543e-06/0.397, allocations: 0 / 1.29 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.3971, allocations: 0 / 1.29 GB, free: 5.836 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.00135/0.3984, allocations: 0.76 MB / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3984, allocations: 8.031 kB / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.3986, allocations: 64.52 kB / 1.291 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005895/0.3991, allocations: 375.4 kB / 1.291 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.3992, allocations: 8.375 kB / 1.291 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.3992, allocations: 19.94 kB / 1.291 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.3995, allocations: 181 kB / 1.291 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.3996, allocations: 0 / 1.291 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.3996, allocations: 8 kB / 1.291 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3996, allocations: 4 kB / 1.291 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.3998, allocations: 84.66 kB / 1.291 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009955/0.4008, allocations: 0.5273 MB / 1.292 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.4011, allocations: 122.7 kB / 1.292 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.4012, allocations: 56.81 kB / 1.292 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.4012, allocations: 0 / 1.292 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/0.4015, allocations: 166.6 kB / 1.292 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 3.367e-06/0.4015, allocations: 3.984 kB / 1.292 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0004741/0.402, allocations: 205.3 kB / 1.292 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.402, allocations: 51.41 kB / 1.292 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007931/0.4028, allocations: 0.668 MB / 1.293 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.4029, allocations: 37.69 kB / 1.293 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.4031, allocations: 260.4 kB / 1.293 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.4031, allocations: 39.73 kB / 1.293 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.4032, allocations: 61.64 kB / 1.293 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002124/0.4034, allocations: 366.8 kB / 1.294 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.4036, allocations: 79.91 kB / 1.294 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.4038, allocations: 167.8 kB / 1.294 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.404, allocations: 131.9 kB / 1.294 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.404, allocations: 0 / 1.294 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004358/0.4045, allocations: 277 kB / 1.294 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.4045, allocations: 7.984 kB / 1.294 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4045, allocations: 8.047 kB / 1.294 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.4045, allocations: 4 kB / 1.294 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.4047, allocations: 39.92 kB / 1.294 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.4047, allocations: 0 / 1.294 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.4049, allocations: 23.92 kB / 1.294 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.4049, allocations: 7.984 kB / 1.294 GB, free: 0.8398 MB / 0.9825 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.0002342/0.4051, allocations: 205.7 kB / 1.295 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.25e-05/0.4052, allocations: 55.62 kB / 1.295 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003695/0.4056, allocations: 198.3 kB / 1.295 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4056, allocations: 0 / 1.295 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4056, allocations: 0 / 1.295 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4056, allocations: 0 / 1.295 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.4059, allocations: 293.1 kB / 1.295 GB, free: 60 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4059, allocations: 3.938 kB / 1.295 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.879e-05/0.406, allocations: 8 kB / 1.295 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.406, allocations: 0 / 1.295 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.406, allocations: 11.98 kB / 1.295 GB, free: 36 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.406, allocations: 0 / 1.295 GB, free: 36 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.406, allocations: 4 kB / 1.295 GB, free: 32 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004819/0.4065, allocations: 270.2 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.4066, allocations: 63.53 kB / 1.295 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.528e-05/0.4067, allocations: 0 / 1.295 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.4068, allocations: 15.98 kB / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/0.4069, allocations: 23.95 kB / 1.295 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.4069, allocations: 4 kB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005174/0.4074, allocations: 451 kB / 1.296 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4074, allocations: 0 / 1.296 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002901/0.4077, allocations: 60 kB / 1.296 GB, free: 15.15 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 (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.001733/0.4094, allocations: 461.9 kB / 1.296 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003659/0.4098, allocations: 144.5 kB / 1.297 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4098, allocations: 0 / 1.297 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.4099, allocations: 59.91 kB / 1.297 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.4104, allocations: 85.83 kB / 1.297 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.4119, allocations: 0.8973 MB / 1.298 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.4122, allocations: 258.2 kB / 1.298 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.387e-05/0.4122, allocations: 35.42 kB / 1.298 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.4122, allocations: 0 / 1.298 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of Templates: time 0.00945/0.4217, allocations: 5.71 MB / 1.303 GB, free: 7.668 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/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: 12.147692459635437]