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.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.001833/0.001833, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001569/0.001569, allocations: 214 kB / 22.25 MB, free: 5.262 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.564/1.564, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.477/3.477, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002968/0.002968, allocations: 64.28 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.4276, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002651/0.4303, allocations: 1.075 MB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.4319, allocations: 1.078 MB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.432, allocations: 0 / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.162e-05/0.4321, allocations: 27.67 kB / 1.366 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.4323, allocations: 35.66 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.4326, allocations: 99.77 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003109/0.4329, allocations: 243.4 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.4331, allocations: 67.78 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.4334, allocations: 107.6 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.4335, allocations: 99.45 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.4336, allocations: 24 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.333e-05/0.4336, allocations: 28 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.4337, allocations: 51.83 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.4338, allocations: 87.53 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003783/0.4342, allocations: 290.8 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4342, allocations: 7.922 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4342, allocations: 4 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.4342, allocations: 0 / 1.367 GB, free: 10.25 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.001017/0.4352, allocations: 473.1 kB / 1.368 GB, free: 9.762 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.4353, allocations: 8.031 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000266/0.4355, allocations: 44.77 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.4359, allocations: 190.1 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.436, allocations: 123.3 kB / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.4361, allocations: 16.38 kB / 1.368 GB, free: 9.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.4365, allocations: 194.6 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.4365, allocations: 0 / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.4366, allocations: 4 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.4366, allocations: 8 kB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004551/0.437, allocations: 151.9 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009038/0.4379, allocations: 455.8 kB / 1.369 GB, free: 8.508 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.4383, allocations: 138.8 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002357/0.4386, allocations: 88.72 kB / 1.369 GB, free: 8.273 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.4386, allocations: 4 kB / 1.369 GB, free: 8.27 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003391/0.439, allocations: 149.8 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.683e-06/0.439, allocations: 3.938 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0007936/0.4397, allocations: 269.4 kB / 1.369 GB, free: 7.84 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.4398, allocations: 51.41 kB / 1.369 GB, free: 7.777 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.44, allocations: 175.3 kB / 1.369 GB, free: 7.594 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.44, allocations: 29.7 kB / 1.37 GB, free: 7.559 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.4401, allocations: 140.5 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.445e-05/0.4402, allocations: 63.53 kB / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.756e-05/0.4403, allocations: 41.7 kB / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.4405, allocations: 334.8 kB / 1.37 GB, free: 6.973 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.4407, allocations: 75.89 kB / 1.37 GB, free: 6.898 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.4409, allocations: 105.8 kB / 1.37 GB, free: 6.789 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004384/0.4413, allocations: 166.5 kB / 1.37 GB, free: 6.617 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.4414, allocations: 4 kB / 1.37 GB, free: 6.613 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005306/0.4419, allocations: 237.3 kB / 1.371 GB, free: 6.375 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.4419, allocations: 11.98 kB / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.4419, allocations: 0 / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4419, allocations: 0 / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.4422, allocations: 43.91 kB / 1.371 GB, free: 6.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.4422, allocations: 4 kB / 1.371 GB, free: 6.316 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.4423, allocations: 23.88 kB / 1.371 GB, free: 6.293 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.4423, allocations: 4 kB / 1.371 GB, free: 6.289 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 0.0001459/0.4425, allocations: 146.8 kB / 1.371 GB, free: 6.137 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.4425, allocations: 23.84 kB / 1.371 GB, free: 6.113 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.4426, allocations: 21.75 kB / 1.371 GB, free: 6.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.4426, allocations: 0 / 1.371 GB, free: 6.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.4426, allocations: 4 kB / 1.371 GB, free: 6.086 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4426, allocations: 0 / 1.371 GB, free: 6.086 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.4428, allocations: 201.1 kB / 1.371 GB, free: 5.859 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4428, allocations: 0 / 1.371 GB, free: 5.859 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.443, allocations: 35.97 kB / 1.371 GB, free: 5.824 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.443, allocations: 4 kB / 1.371 GB, free: 5.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.4431, allocations: 8 kB / 1.371 GB, free: 5.812 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.4431, allocations: 0 / 1.371 GB, free: 5.812 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4431, allocations: 3.938 kB / 1.371 GB, free: 5.809 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007735/0.4438, allocations: 335.2 kB / 1.371 GB, free: 5.465 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.4439, allocations: 23.92 kB / 1.371 GB, free: 5.441 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.4439, allocations: 8.062 kB / 1.371 GB, free: 5.434 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.444, allocations: 11.98 kB / 1.372 GB, free: 5.422 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/0.4441, allocations: 19.97 kB / 1.372 GB, free: 5.402 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.4441, allocations: 15.92 kB / 1.372 GB, free: 5.387 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001258/0.4443, allocations: 131.2 kB / 1.372 GB, free: 5.258 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4443, allocations: 0 / 1.372 GB, free: 5.258 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000254/0.4445, allocations: 47.89 kB / 1.372 GB, free: 5.211 MB / 1.061 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.0001502/0.4447, allocations: 107.1 kB / 1.372 GB, free: 5.094 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005278/0.4452, allocations: 179.8 kB / 1.372 GB, free: 4.918 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4452, allocations: 0 / 1.372 GB, free: 4.918 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002476/0.4455, allocations: 86.64 kB / 1.372 GB, free: 4.836 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.4458, allocations: 48.42 kB / 1.372 GB, free: 4.789 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.4468, allocations: 417.9 kB / 1.373 GB, free: 4.355 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.447, allocations: 133.4 kB / 1.373 GB, free: 4.203 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.4471, allocations: 17.47 kB / 1.373 GB, free: 4.188 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.074e-05/0.4472, allocations: 23.38 kB / 1.373 GB, free: 4.164 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.4472, allocations: 0 / 1.373 GB, free: 4.164 MB / 1.061 GB Notification: Performance of Templates: time 0.006974/0.4542, allocations: 2.572 MB / 1.375 GB, free: 1.652 MB / 1.061 GB " [Timeout remaining time 300] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage.pipe 2>&1) [Timeout 800] 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/jenkins/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 [Calling sys.exit(0), Time elapsed: 9.672438340261579]