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.001743/0.001743, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002204/0.002204, allocations: 213.1 kB / 22.99 MB, free: 4.984 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.475/1.475, 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.273/3.273, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.002944/0.002944, allocations: 70.95 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4044, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004445/0.4089, allocations: 2.38 MB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00281/0.4117, allocations: 1.57 MB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.4119, allocations: 7.938 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007025/0.4126, allocations: 206.9 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005077/0.4131, allocations: 203.1 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.4134, allocations: 155.5 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004798/0.4139, allocations: 366.8 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.4141, allocations: 60.89 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.4143, allocations: 143.4 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.4146, allocations: 175.2 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.698e-05/0.4146, allocations: 20 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.4148, allocations: 67.97 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.4149, allocations: 131.5 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.4151, allocations: 135 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007105/0.4158, allocations: 0.521 MB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4158, allocations: 4 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4158, allocations: 0 / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.4158, allocations: 0 / 1.333 GB, free: 10.85 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.001404/0.4172, allocations: 0.7542 MB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4173, allocations: 8.031 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.4174, allocations: 64.52 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006599/0.4181, allocations: 375.4 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.4181, allocations: 8.375 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.4181, allocations: 19.94 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.4185, allocations: 189.6 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.4185, allocations: 4 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.4186, allocations: 7.938 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.4186, allocations: 4 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.4188, allocations: 87.95 kB / 1.335 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.4198, allocations: 0.5195 MB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.4202, allocations: 134.7 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.4203, allocations: 44.78 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.4203, allocations: 0 / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.4206, allocations: 158.8 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 3.477e-06/0.4206, allocations: 3.984 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0004958/0.4211, allocations: 217.1 kB / 1.336 GB, free: 8.129 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.4212, allocations: 59.33 kB / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008119/0.422, allocations: 0.6681 MB / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.422, allocations: 33.7 kB / 1.336 GB, free: 7.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.4222, allocations: 260.4 kB / 1.337 GB, free: 7.078 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.726e-05/0.4223, allocations: 31.73 kB / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.739e-05/0.4224, allocations: 61.58 kB / 1.337 GB, free: 6.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002191/0.4226, allocations: 374.8 kB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.4228, allocations: 79.97 kB / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.423, allocations: 162.8 kB / 1.337 GB, free: 6.344 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.4232, allocations: 131.9 kB / 1.337 GB, free: 6.211 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4232, allocations: 0 / 1.337 GB, free: 6.211 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000461/0.4237, allocations: 282.9 kB / 1.338 GB, free: 5.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4237, allocations: 7.938 kB / 1.338 GB, free: 5.922 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4237, allocations: 0 / 1.338 GB, free: 5.922 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.4237, allocations: 4 kB / 1.338 GB, free: 5.918 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.4239, allocations: 31.98 kB / 1.338 GB, free: 5.887 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.4239, allocations: 0 / 1.338 GB, free: 5.887 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.4241, allocations: 31.86 kB / 1.338 GB, free: 5.855 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.4241, allocations: 4 kB / 1.338 GB, free: 5.852 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.0002556/0.4244, allocations: 228.5 kB / 1.338 GB, free: 5.621 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.4245, allocations: 51.67 kB / 1.338 GB, free: 5.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004033/0.4249, allocations: 190.4 kB / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4249, allocations: 3.938 kB / 1.338 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4249, allocations: 0 / 1.338 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4249, allocations: 0 / 1.338 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/0.4252, allocations: 293.1 kB / 1.338 GB, free: 5.055 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.4252, allocations: 3.938 kB / 1.338 GB, free: 5.051 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.455e-05/0.4253, allocations: 11.98 kB / 1.338 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4253, allocations: 0 / 1.338 GB, free: 5.039 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.4253, allocations: 4 kB / 1.338 GB, free: 5.035 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4253, allocations: 4 kB / 1.338 GB, free: 5.031 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4253, allocations: 0 / 1.338 GB, free: 5.031 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000496/0.4258, allocations: 268.6 kB / 1.339 GB, free: 4.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.4259, allocations: 67.52 kB / 1.339 GB, free: 4.684 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-05/0.426, allocations: 4 kB / 1.339 GB, free: 4.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.4261, allocations: 11.98 kB / 1.339 GB, free: 4.668 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.4262, allocations: 19.97 kB / 1.339 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.4262, allocations: 7.984 kB / 1.339 GB, free: 4.641 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005276/0.4268, allocations: 447 kB / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4268, allocations: 4.062 kB / 1.339 GB, free: 4.207 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003129/0.4271, allocations: 63.89 kB / 1.339 GB, free: 4.145 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.001734/0.4288, allocations: 463.8 kB / 1.34 GB, free: 3.867 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003361/0.4291, allocations: 143.9 kB / 1.34 GB, free: 3.727 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4291, allocations: 0 / 1.34 GB, free: 3.727 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.4293, allocations: 51.92 kB / 1.34 GB, free: 3.676 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.4297, allocations: 86.08 kB / 1.34 GB, free: 3.594 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.431, allocations: 0.8488 MB / 1.341 GB, free: 2.715 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.4313, allocations: 255.2 kB / 1.341 GB, free: 2.441 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001244/0.4314, allocations: 54.94 kB / 1.341 GB, free: 2.391 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.145e-05/0.4315, allocations: 35.42 kB / 1.341 GB, free: 2.359 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.4315, allocations: 0 / 1.341 GB, free: 2.359 MB / 1.029 GB Notification: Performance of Templates: time 0.01065/0.4422, allocations: 4.673 MB / 1.346 GB, free: 13.75 MB / 1.045 GB " [Timeout remaining time 300] 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 gbode -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: 9.311119951002183]