Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 102.7 kB / 18.05 MB, free: 4.289 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 192.4 kB / 21.17 MB, free: 1.18 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 249.7 MB, free: 3.238 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.763/2.763, allocations: 489.7 MB / 0.7759 GB, free: 2.422 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=504,variableFilter="time|loaHea.TSupSet|loaHea.TRet|loaHea.V_flow|loaHea.QReq_flow|loaCoo.TSupSet|loaCoo.TRet|loaCoo.V_flow|loaCoo.QReq_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=504,variableFilter="time|loaHea.TSupSet|loaHea.TRet|loaHea.V_flow|loaHea.QReq_flow|loaCoo.TSupSet|loaCoo.TRet|loaCoo.V_flow|loaCoo.QReq_flow",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 71.88 kB / 1.126 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9319/0.9339, allocations: 172 MB / 1.294 GB, free: 38.64 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002099/0.936, allocations: 1.176 MB / 1.296 GB, free: 37.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009807/0.937, allocations: 1.051 MB / 1.297 GB, free: 37.06 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.354e-05/0.9371, allocations: 2.312 kB / 1.297 GB, free: 37.06 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.136e-05/0.9371, allocations: 18.94 kB / 1.297 GB, free: 37.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.9372, allocations: 48.75 kB / 1.297 GB, free: 37.01 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.9375, allocations: 93.47 kB / 1.297 GB, free: 36.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.9377, allocations: 241.5 kB / 1.297 GB, free: 36.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.9379, allocations: 74.73 kB / 1.297 GB, free: 36.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.938, allocations: 101.5 kB / 1.297 GB, free: 36.74 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.9381, allocations: 110.8 kB / 1.297 GB, free: 36.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.262e-05/0.9381, allocations: 23.19 kB / 1.297 GB, free: 36.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.814e-05/0.9382, allocations: 25.69 kB / 1.297 GB, free: 36.68 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.522e-05/0.9382, allocations: 56.05 kB / 1.297 GB, free: 36.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.27e-05/0.9383, allocations: 112.9 kB / 1.298 GB, free: 36.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.9385, allocations: 284.9 kB / 1.298 GB, free: 36.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.9385, allocations: 0 / 1.298 GB, free: 36.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9385, allocations: 0 / 1.298 GB, free: 36.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.9385, allocations: 0 / 1.298 GB, free: 36.45 MB / 1.061 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.0007442/0.9393, allocations: 0.5342 MB / 1.298 GB, free: 35.99 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.9393, allocations: 8.5 kB / 1.298 GB, free: 35.99 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.9393, allocations: 29.97 kB / 1.298 GB, free: 35.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.9396, allocations: 245.1 kB / 1.299 GB, free: 35.74 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.756e-05/0.9396, allocations: 68.12 kB / 1.299 GB, free: 35.67 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.9397, allocations: 25.83 kB / 1.299 GB, free: 35.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.9401, allocations: 196 kB / 1.299 GB, free: 35.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.9401, allocations: 7.938 kB / 1.299 GB, free: 35.56 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.9401, allocations: 4 kB / 1.299 GB, free: 35.55 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.9401, allocations: 6.156 kB / 1.299 GB, free: 35.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003586/0.9405, allocations: 152.5 kB / 1.299 GB, free: 35.51 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006896/0.9411, allocations: 0.5699 MB / 1.3 GB, free: 35.1 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.9415, allocations: 135 kB / 1.3 GB, free: 35.04 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.9417, allocations: 82.48 kB / 1.3 GB, free: 35 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.9417, allocations: 7.016 kB / 1.3 GB, free: 35 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/0.9419, allocations: 143.2 kB / 1.3 GB, free: 34.92 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.9419, allocations: 0 / 1.3 GB, free: 34.92 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0006447/0.9426, allocations: 269.7 kB / 1.3 GB, free: 34.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.9426, allocations: 58.22 kB / 1.3 GB, free: 34.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.9427, allocations: 194.9 kB / 1.3 GB, free: 34.62 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.9428, allocations: 29.7 kB / 1.3 GB, free: 34.59 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.9428, allocations: 139.2 kB / 1.301 GB, free: 34.47 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.9429, allocations: 64.64 kB / 1.301 GB, free: 34.42 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.03e-05/0.9429, allocations: 42.75 kB / 1.301 GB, free: 34.39 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.568e-05/0.943, allocations: 334.6 kB / 1.301 GB, free: 34.06 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.9431, allocations: 73.39 kB / 1.301 GB, free: 34.04 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.9433, allocations: 109.6 kB / 1.301 GB, free: 33.99 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.9437, allocations: 180.1 kB / 1.301 GB, free: 33.9 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9437, allocations: 0 / 1.301 GB, free: 33.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004211/0.9441, allocations: 228.6 kB / 1.302 GB, free: 33.8 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.9441, allocations: 7.625 kB / 1.302 GB, free: 33.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.9441, allocations: 3.938 kB / 1.302 GB, free: 33.8 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.9441, allocations: 6.75 kB / 1.302 GB, free: 33.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.9443, allocations: 41.55 kB / 1.302 GB, free: 33.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.9443, allocations: 3.938 kB / 1.302 GB, free: 33.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.9445, allocations: 34.48 kB / 1.302 GB, free: 33.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.9445, allocations: 6.281 kB / 1.302 GB, free: 33.77 MB / 1.061 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 8.642e-05/0.9446, allocations: 138.1 kB / 1.302 GB, free: 33.64 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.9446, allocations: 20.81 kB / 1.302 GB, free: 33.63 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.9446, allocations: 21.03 kB / 1.302 GB, free: 33.61 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.9446, allocations: 6.234 kB / 1.302 GB, free: 33.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.9446, allocations: 3.984 kB / 1.302 GB, free: 33.61 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.9447, allocations: 87.89 kB / 1.302 GB, free: 33.51 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.9447, allocations: 10.88 kB / 1.302 GB, free: 33.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.9449, allocations: 15.48 kB / 1.302 GB, free: 33.5 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.701e-05/0.9449, allocations: 23.34 kB / 1.302 GB, free: 33.49 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005753/0.9455, allocations: 309 kB / 1.302 GB, free: 33.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006392/0.9461, allocations: 486.2 kB / 1.303 GB, free: 33.02 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001829/0.9463, allocations: 80.89 kB / 1.303 GB, free: 33 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.479e-05/0.9464, allocations: 148.7 kB / 1.303 GB, free: 32.89 MB / 1.061 GB Notification: Performance of Backend: time 3.9e-07/0.9464, allocations: 0 / 1.303 GB, free: 32.89 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005436/0.947, allocations: 192.2 kB / 1.303 GB, free: 32.79 MB / 1.061 GB Notification: Performance of SimCode: time 0.0007709/0.9477, allocations: 0.8669 MB / 1.304 GB, free: 32.05 MB / 1.061 GB Notification: Performance of Templates: time 0.005476/0.9532, allocations: 2.936 MB / 1.307 GB, free: 31.83 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_StagingRotation_Validation_LoadAverage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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