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.001409/0.001409, allocations: 77.78 kB / 19.76 MB, free: 2.031 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.001507/0.001507, allocations: 162.4 kB / 23.01 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.56/1.56, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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 2.928/2.928, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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.002383/0.002383, allocations: 67.89 kB / 0.982 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22/1.222, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003536/1.226, allocations: 2.368 MB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002226/1.228, allocations: 1.562 MB / 1.158 GB, free: 30.74 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/1.228, allocations: 9.875 kB / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006051/1.228, allocations: 218.1 kB / 1.158 GB, free: 30.65 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004011/1.229, allocations: 198.3 kB / 1.158 GB, free: 30.55 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/1.229, allocations: 167.4 kB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003633/1.23, allocations: 362.8 kB / 1.159 GB, free: 30.27 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/1.23, allocations: 55.92 kB / 1.159 GB, free: 30.24 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/1.23, allocations: 151.3 kB / 1.159 GB, free: 30.16 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/1.23, allocations: 154 kB / 1.159 GB, free: 30.1 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.659e-05/1.23, allocations: 26.59 kB / 1.159 GB, free: 30.1 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/1.23, allocations: 68.88 kB / 1.159 GB, free: 30.08 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/1.23, allocations: 126.5 kB / 1.159 GB, free: 30.03 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/1.23, allocations: 138.9 kB / 1.159 GB, free: 29.93 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004763/1.231, allocations: 0.5239 MB / 1.16 GB, free: 29.71 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/1.231, allocations: 0 / 1.16 GB, free: 29.71 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.472e-06/1.231, allocations: 2.531 kB / 1.16 GB, free: 29.71 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.644e-05/1.231, allocations: 0 / 1.16 GB, free: 29.71 MB / 1.076 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.001054/1.232, allocations: 0.749 MB / 1.161 GB, free: 29.14 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/1.232, allocations: 9.062 kB / 1.161 GB, free: 29.14 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.773e-05/1.232, allocations: 63.58 kB / 1.161 GB, free: 29.11 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/1.233, allocations: 380.4 kB / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/1.233, allocations: 10.28 kB / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/1.233, allocations: 19.12 kB / 1.161 GB, free: 28.81 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/1.233, allocations: 186.6 kB / 1.161 GB, free: 28.68 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.233, allocations: 0 / 1.161 GB, free: 28.68 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/1.233, allocations: 14.67 kB / 1.161 GB, free: 28.67 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.233, allocations: 2.844 kB / 1.161 GB, free: 28.67 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/1.233, allocations: 85.84 kB / 1.161 GB, free: 28.64 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008549/1.234, allocations: 0.5286 MB / 1.162 GB, free: 28.31 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/1.234, allocations: 126.9 kB / 1.162 GB, free: 28.25 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.279e-05/1.234, allocations: 48.33 kB / 1.162 GB, free: 28.22 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/1.234, allocations: 0 / 1.162 GB, free: 28.22 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/1.235, allocations: 153.7 kB / 1.162 GB, free: 28.09 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/1.235, allocations: 0 / 1.162 GB, free: 28.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0004236/1.235, allocations: 219 kB / 1.162 GB, free: 27.98 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/1.235, allocations: 54.09 kB / 1.162 GB, free: 27.92 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006274/1.236, allocations: 0.6664 MB / 1.163 GB, free: 27.64 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/1.236, allocations: 32.48 kB / 1.163 GB, free: 27.61 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/1.236, allocations: 265.5 kB / 1.163 GB, free: 27.39 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/1.236, allocations: 36.89 kB / 1.163 GB, free: 27.37 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.348e-05/1.236, allocations: 67.84 kB / 1.163 GB, free: 27.32 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.007e-05/1.236, allocations: 367.1 kB / 1.164 GB, free: 26.99 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/1.236, allocations: 77.84 kB / 1.164 GB, free: 26.96 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/1.236, allocations: 166.3 kB / 1.164 GB, free: 26.84 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/1.237, allocations: 134.9 kB / 1.164 GB, free: 26.77 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.237, allocations: 0 / 1.164 GB, free: 26.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003462/1.237, allocations: 278.9 kB / 1.164 GB, free: 26.64 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/1.237, allocations: 5.844 kB / 1.164 GB, free: 26.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.237, allocations: 7.391 kB / 1.164 GB, free: 26.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/1.237, allocations: 3.938 kB / 1.164 GB, free: 26.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/1.237, allocations: 37.45 kB / 1.164 GB, free: 26.63 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/1.237, allocations: 0 / 1.164 GB, free: 26.63 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/1.237, allocations: 28.53 kB / 1.165 GB, free: 26.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/1.237, allocations: 5.531 kB / 1.165 GB, free: 26.62 MB / 1.076 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.0001643/1.237, allocations: 216.6 kB / 1.165 GB, free: 26.47 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.451e-05/1.238, allocations: 54.39 kB / 1.165 GB, free: 26.44 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00032/1.238, allocations: 189.3 kB / 1.165 GB, free: 26.35 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/1.238, allocations: 2.656 kB / 1.165 GB, free: 26.35 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.238, allocations: 0 / 1.165 GB, free: 26.35 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.238, allocations: 0 / 1.165 GB, free: 26.35 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/1.238, allocations: 295.6 kB / 1.165 GB, free: 26.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.238, allocations: 3.938 kB / 1.165 GB, free: 26.15 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.686e-05/1.238, allocations: 17.98 kB / 1.165 GB, free: 26.15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/1.238, allocations: 0 / 1.165 GB, free: 26.15 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/1.238, allocations: 6.625 kB / 1.165 GB, free: 26.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/1.238, allocations: 0 / 1.165 GB, free: 26.14 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/1.238, allocations: 4 kB / 1.165 GB, free: 26.14 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/1.239, allocations: 258.8 kB / 1.166 GB, free: 26 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.017e-05/1.239, allocations: 58.5 kB / 1.166 GB, free: 25.96 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/1.239, allocations: 6.625 kB / 1.166 GB, free: 25.95 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/1.239, allocations: 14.53 kB / 1.166 GB, free: 25.95 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/1.239, allocations: 26.14 kB / 1.166 GB, free: 25.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/1.239, allocations: 5.469 kB / 1.166 GB, free: 25.95 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003856/1.239, allocations: 443.2 kB / 1.166 GB, free: 25.77 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.239, allocations: 0 / 1.166 GB, free: 25.77 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002889/1.24, allocations: 71.44 kB / 1.166 GB, free: 25.75 MB / 1.076 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.001667/1.241, allocations: 461.2 kB / 1.167 GB, free: 25.54 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003047/1.242, allocations: 151.3 kB / 1.167 GB, free: 25.49 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/1.242, allocations: 0 / 1.167 GB, free: 25.49 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/1.242, allocations: 54.27 kB / 1.167 GB, free: 25.47 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/1.242, allocations: 77.22 kB / 1.167 GB, free: 25.43 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/1.243, allocations: 0.8456 MB / 1.168 GB, free: 24.97 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/1.243, allocations: 258.9 kB / 1.168 GB, free: 24.87 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001205/1.243, allocations: 53.41 kB / 1.168 GB, free: 24.86 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.332e-05/1.244, allocations: 30.17 kB / 1.168 GB, free: 24.84 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/1.244, allocations: 0 / 1.168 GB, free: 24.84 MB / 1.076 GB Notification: Performance of Templates: time 0.01019/1.254, allocations: 4.196 MB / 1.172 GB, free: 24.34 MB / 1.076 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 ida -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.927027633995749]