Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.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.001343/0.001343, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001528/0.001528, allocations: 211.1 kB / 22.99 MB, free: 4.957 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.163/3.163, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loaHea.TSupSet|loaHea.TRet|loaHea.V_flow|loaHea.QReq_flow|loaCoo.TSupSet|loaCoo.TRet|loaCoo.V_flow|loaCoo.QReq_flow",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loaHea.TSupSet|loaHea.TRet|loaHea.V_flow|loaHea.QReq_flow|loaCoo.TSupSet|loaCoo.TRet|loaCoo.V_flow|loaCoo.QReq_flow",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") [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.002114/0.002114, allocations: 64.77 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3598, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002446/0.3622, allocations: 1.072 MB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.3637, allocations: 1.077 MB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.3638, allocations: 7.938 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.855e-05/0.3638, allocations: 19.73 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.364, allocations: 39.59 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.3643, allocations: 95.83 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.3646, allocations: 251.3 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.3648, allocations: 79.78 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.365, allocations: 99.64 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.3652, allocations: 103.5 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.155e-05/0.3652, allocations: 24 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.91e-05/0.3653, allocations: 32 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.475e-05/0.3653, allocations: 55.83 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.345e-05/0.3654, allocations: 91.47 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000331/0.3658, allocations: 282.8 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3658, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3658, allocations: 7.938 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.3658, allocations: 0 / 1.33 GB, free: 13.65 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009445/0.3667, allocations: 473.1 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3668, allocations: 12.03 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002562/0.367, allocations: 44.72 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.3674, allocations: 190.7 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.3675, allocations: 123.3 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.3675, allocations: 20.38 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.368, allocations: 186.6 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.368, allocations: 4 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.368, allocations: 15.97 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.368, allocations: 4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.3685, allocations: 167.7 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000819/0.3693, allocations: 463.7 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003915/0.3697, allocations: 129 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.3699, allocations: 89.06 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.3699, allocations: 3.906 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003319/0.3703, allocations: 149.2 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/0.3703, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0007592/0.371, allocations: 267.1 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.3711, allocations: 59.41 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.3713, allocations: 174.7 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.3713, allocations: 33.64 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.3714, allocations: 140.5 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.35e-05/0.3714, allocations: 59.5 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.302e-05/0.3715, allocations: 45.7 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3717, allocations: 326.8 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.3719, allocations: 87.88 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.3721, allocations: 94.53 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.3725, allocations: 170.4 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3725, allocations: 0 / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005286/0.3731, allocations: 237.4 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3731, allocations: 4 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3731, allocations: 0 / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3731, allocations: 4 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.3733, allocations: 47.95 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3733, allocations: 0 / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.3735, allocations: 23.88 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.3735, allocations: 8 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (loaHea.movAve.mode,$PRE.loaHea.movAve.mode,$whenCondition1,loaCoo.movAve.mode,$PRE.loaCoo.movAve.mode,$whenCondition2) * 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.0001389/0.3737, allocations: 144.1 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.3737, allocations: 11.91 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.231e-05/0.3737, allocations: 25.8 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3737, allocations: 4 kB / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3738, allocations: 0 / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3738, allocations: 0 / 1.334 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.374, allocations: 201.1 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.374, allocations: 0 / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.3742, allocations: 39.91 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.3742, allocations: 8 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.3743, allocations: 4 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3743, allocations: 0 / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3743, allocations: 3.938 kB / 1.334 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007797/0.375, allocations: 334.7 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.3751, allocations: 15.94 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.3751, allocations: 12 kB / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.3753, allocations: 23.97 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.687e-05/0.3753, allocations: 19.91 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.3753, allocations: 4 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001162/0.3755, allocations: 140.3 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3755, allocations: 0 / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000258/0.3757, allocations: 47.84 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (loaHea.movAve.mu,loaCoo.movAve.mu) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,loaHea.movAve.mode,loaCoo.movAve.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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.0001233/0.3758, allocations: 111.2 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004986/0.3763, allocations: 173.4 kB / 1.335 GB, free: 8.293 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.3763, allocations: 4 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.3766, allocations: 83.89 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.3769, allocations: 43.7 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00082/0.3777, allocations: 429.8 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.3778, allocations: 129.4 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.904e-05/0.3779, allocations: 17.47 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.994e-05/0.378, allocations: 23.44 kB / 1.336 GB, free: 7.535 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.378, allocations: 0 / 1.336 GB, free: 7.535 MB / 1.029 GB Notification: Performance of Templates: time 0.006306/0.3843, allocations: 2.624 MB / 1.339 GB, free: 4.973 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.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: 8.964863956993213]