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.001434/0.001434, allocations: 108.3 kB / 19.7 MB, free: 2.16 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.00195/0.00195, allocations: 215.9 kB / 22.99 MB, free: 4.988 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.613/1.613, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.361/3.361, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.002098/0.002098, allocations: 70.45 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4734/0.4755, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004934/0.4804, allocations: 2.384 MB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003056/0.4835, allocations: 1.552 MB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002153/0.4837, allocations: 7.938 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008074/0.4845, allocations: 214.9 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006117/0.4851, allocations: 203.1 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004854/0.4856, allocations: 163.5 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005486/0.4862, allocations: 358.8 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.4864, allocations: 60.89 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.4866, allocations: 151.3 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.4869, allocations: 167.2 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.156e-05/0.4869, allocations: 20 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.4871, allocations: 67.97 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.4873, allocations: 127.5 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.4875, allocations: 146.8 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007597/0.4882, allocations: 0.5132 MB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4883, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4883, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.4883, allocations: 0 / 1.333 GB, free: 10.88 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.00151/0.4898, allocations: 0.7601 MB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.4898, allocations: 12.03 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.49, allocations: 60.52 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006676/0.4906, allocations: 371.4 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.4907, allocations: 12.38 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/0.4907, allocations: 15.94 kB / 1.334 GB, free: 9.598 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003907/0.4911, allocations: 185.7 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.4911, allocations: 0 / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.4911, allocations: 11.98 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.4911, allocations: 7.938 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.4914, allocations: 91.88 kB / 1.335 GB, free: 9.289 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.4926, allocations: 0.5312 MB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.4929, allocations: 118.5 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.4931, allocations: 56.95 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.4931, allocations: 0 / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002952/0.4934, allocations: 158.7 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.4934, allocations: 0 / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.000585/0.494, allocations: 217.1 kB / 1.336 GB, free: 8.145 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.494, allocations: 51.41 kB / 1.336 GB, free: 8.082 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008211/0.4948, allocations: 0.6642 MB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.4949, allocations: 37.69 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/0.4952, allocations: 260.4 kB / 1.337 GB, free: 7.102 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.325e-05/0.4952, allocations: 35.73 kB / 1.337 GB, free: 7.066 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.4953, allocations: 69.58 kB / 1.337 GB, free: 6.992 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002322/0.4956, allocations: 366.8 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.4957, allocations: 75.97 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.4959, allocations: 170.7 kB / 1.337 GB, free: 6.359 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.4962, allocations: 127.2 kB / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4962, allocations: 0 / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004596/0.4967, allocations: 275.5 kB / 1.338 GB, free: 5.957 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.4967, allocations: 10.33 kB / 1.338 GB, free: 5.949 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.4967, allocations: 4.062 kB / 1.338 GB, free: 5.945 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.4967, allocations: 4 kB / 1.338 GB, free: 5.941 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.4969, allocations: 39.92 kB / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.4969, allocations: 0 / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.4971, allocations: 27.86 kB / 1.338 GB, free: 5.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.4971, allocations: 12 kB / 1.338 GB, free: 5.863 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.0002716/0.4974, allocations: 210.2 kB / 1.338 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/0.4975, allocations: 55.66 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000412/0.4979, allocations: 190.4 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4979, allocations: 0 / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.4979, allocations: 4 kB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.4979, allocations: 0 / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/0.4983, allocations: 293.1 kB / 1.338 GB, free: 5.078 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4983, allocations: 3.938 kB / 1.338 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.705e-05/0.4984, allocations: 15.94 kB / 1.338 GB, free: 5.059 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4984, allocations: 4 kB / 1.338 GB, free: 5.055 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.4984, allocations: 3.984 kB / 1.338 GB, free: 5.051 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4984, allocations: 0 / 1.338 GB, free: 5.051 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.4984, allocations: 7.938 kB / 1.338 GB, free: 5.043 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/0.4989, allocations: 268.7 kB / 1.339 GB, free: 4.762 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.499, allocations: 59.53 kB / 1.339 GB, free: 4.703 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.013e-05/0.4991, allocations: 4 kB / 1.339 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.4992, allocations: 11.98 kB / 1.339 GB, free: 4.688 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.4993, allocations: 27.95 kB / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.4993, allocations: 4 kB / 1.339 GB, free: 4.656 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005836/0.4999, allocations: 451 kB / 1.339 GB, free: 4.223 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4999, allocations: 0 / 1.339 GB, free: 4.223 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003106/0.5002, allocations: 63.89 kB / 1.339 GB, free: 4.16 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.002007/0.5022, allocations: 456.4 kB / 1.34 GB, free: 3.891 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004066/0.5026, allocations: 143.9 kB / 1.34 GB, free: 3.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5026, allocations: 3.938 kB / 1.34 GB, free: 3.746 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.5028, allocations: 59.91 kB / 1.34 GB, free: 3.688 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005043/0.5033, allocations: 89.19 kB / 1.34 GB, free: 3.609 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.5048, allocations: 0.8527 MB / 1.341 GB, free: 2.727 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.5051, allocations: 255.2 kB / 1.341 GB, free: 2.453 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001406/0.5053, allocations: 42.97 kB / 1.341 GB, free: 2.414 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.142e-05/0.5054, allocations: 31.42 kB / 1.341 GB, free: 2.387 MB / 1.029 GB Notification: Performance of SimCode: time 1.36e-05/0.5054, allocations: 0 / 1.341 GB, free: 2.387 MB / 1.029 GB Notification: Performance of Templates: time 0.0134/0.5188, allocations: 4.673 MB / 1.346 GB, free: 13.78 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 -s cvode -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/jenkins1/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.06874330699793]