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.001341/0.001341, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001453/0.001453, allocations: 210.2 kB / 23 MB, free: 4.934 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.247/3.247, allocations: 0.49 GB / 0.7959 GB, free: 35.59 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.002065/0.002065, allocations: 65.75 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3286, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002723/0.3313, allocations: 1.078 MB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.3331, allocations: 1.077 MB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.3333, allocations: 7.938 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.683e-05/0.3333, allocations: 19.73 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.3335, allocations: 43.52 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.3339, allocations: 107.8 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.3343, allocations: 239.3 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.3345, allocations: 75.8 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.3347, allocations: 111.6 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.3349, allocations: 107.5 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.327e-05/0.3349, allocations: 24 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.066e-05/0.335, allocations: 24 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.3351, allocations: 51.84 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.35e-05/0.3352, allocations: 87.58 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000368/0.3355, allocations: 294.8 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3355, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3355, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.3355, allocations: 3.938 kB / 1.33 GB, free: 13.68 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.001104/0.3366, allocations: 477.1 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.3367, allocations: 12.03 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002861/0.337, allocations: 44.73 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.3374, allocations: 182.7 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.3375, allocations: 131.3 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.776e-05/0.3376, allocations: 16.38 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004587/0.338, allocations: 186.6 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.338, allocations: 8 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.3381, allocations: 4 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3381, allocations: 8 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.3385, allocations: 159.8 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008284/0.3393, allocations: 459.8 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003884/0.3397, allocations: 134.8 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.34, allocations: 83.45 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.34, allocations: 7.844 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003313/0.3403, allocations: 144.2 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.713e-06/0.3403, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0007718/0.3411, allocations: 271 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.3411, allocations: 59.39 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.3413, allocations: 174.8 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.3413, allocations: 29.7 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.38e-05/0.3414, allocations: 132.5 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.524e-05/0.3415, allocations: 71.42 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.86e-05/0.3416, allocations: 41.7 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3417, allocations: 330.8 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.3419, allocations: 79.89 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.3422, allocations: 98.52 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.3426, allocations: 186.3 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3426, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005259/0.3431, allocations: 233.4 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3431, allocations: 4 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3431, allocations: 0 / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3432, allocations: 4 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.3434, allocations: 39.97 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3434, allocations: 0 / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.3435, allocations: 35.86 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.3436, allocations: 4 kB / 1.334 GB, free: 9.699 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.0001408/0.3437, allocations: 144.1 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.3437, allocations: 19.84 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.3438, allocations: 17.8 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.3438, allocations: 4 kB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3438, allocations: 0 / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.054e-05/0.3438, allocations: 19.84 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.3439, allocations: 0 / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.344, allocations: 31.91 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.3441, allocations: 15.97 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006719/0.3448, allocations: 306.4 kB / 1.335 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008215/0.3456, allocations: 488 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002179/0.3458, allocations: 83.91 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001065/0.3459, allocations: 132.3 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of Backend: time 4.71e-07/0.3459, allocations: 0 / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006423/0.3465, allocations: 187.6 kB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of SimCode: time 0.001012/0.3476, allocations: 0.8628 MB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of Templates: time 0.007203/0.3548, allocations: 3.346 MB / 1.339 GB, free: 4.055 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 -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.920699935006269]