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.001488/0.001488, allocations: 84.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.001696/0.001696, allocations: 161.7 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.512/1.512, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.893/2.893, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.984e-05, allocations: 3.219 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002582/0.002612, allocations: 1.079 MB / 0.8118 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001884/0.004496, allocations: 1.079 MB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.004636, allocations: 7.938 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.652e-05/0.004703, allocations: 19.73 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.004905, allocations: 45.34 kB / 0.813 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.00529, allocations: 99.75 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.00566, allocations: 252.8 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.005882, allocations: 71.84 kB / 0.8134 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003698/0.006252, allocations: 151.6 kB / 0.8135 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.00641, allocations: 77.3 kB / 0.8136 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.006462, allocations: 24 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.605e-05/0.006538, allocations: 32 kB / 0.8136 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.403e-05/0.006602, allocations: 51.77 kB / 0.8137 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.006722, allocations: 73.41 kB / 0.8138 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.007151, allocations: 299 kB / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.007154, allocations: 0 / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.52e-07/0.007155, allocations: 0 / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.007162, allocations: 0 / 0.814 GB, free: 14.79 MB / 0.7761 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.001072/0.008235, allocations: 472.2 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.008272, allocations: 12.03 kB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003001/0.008572, allocations: 58.14 kB / 0.8146 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.008956, allocations: 190.7 kB / 0.8147 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.009099, allocations: 135.2 kB / 0.8149 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.009152, allocations: 18.12 kB / 0.8149 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/0.009641, allocations: 182.8 kB / 0.8151 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.009657, allocations: 192 / 0.8151 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.009685, allocations: 13.56 kB / 0.8151 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.009694, allocations: 7.938 kB / 0.8151 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007135/0.01041, allocations: 154 kB / 0.8152 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009728/0.01138, allocations: 462.4 kB / 0.8157 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.01184, allocations: 138.7 kB / 0.8158 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.01209, allocations: 80.81 kB / 0.8159 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.01212, allocations: 0.7188 kB / 0.8159 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003691/0.01249, allocations: 148 kB / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=19): time 1.463e-06/0.01249, allocations: 0 / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=19): time 0.0008999/0.01339, allocations: 274.9 kB / 0.8163 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.01345, allocations: 55.41 kB / 0.8163 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.01369, allocations: 183.7 kB / 0.8165 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.01372, allocations: 29.7 kB / 0.8165 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.01386, allocations: 144.5 kB / 0.8167 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.972e-05/0.01394, allocations: 56.38 kB / 0.8167 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.01403, allocations: 41.7 kB / 0.8168 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.01423, allocations: 333 kB / 0.8171 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.01448, allocations: 71.95 kB / 0.8172 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.01475, allocations: 98.52 kB / 0.8173 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.01522, allocations: 173.1 kB / 0.8174 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.01523, allocations: 3.938 kB / 0.8174 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006494/0.01588, allocations: 258.9 kB / 0.8177 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.01589, allocations: 4 kB / 0.8177 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.0159, allocations: 4 kB / 0.8177 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.01592, allocations: 0.5 kB / 0.8177 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.01617, allocations: 44.97 kB / 0.8177 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.01617, allocations: 0 / 0.8177 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.01634, allocations: 28.7 kB / 0.8177 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.01636, allocations: 5.875 kB / 0.8178 GB, free: 10.8 MB / 0.7761 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.000175/0.01653, allocations: 147.7 kB / 0.8179 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.01658, allocations: 23.86 kB / 0.8179 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.251e-05/0.01664, allocations: 21.81 kB / 0.8179 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01664, allocations: 1.344 kB / 0.8179 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.01664, allocations: 0 / 0.8179 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.01665, allocations: 3.984 kB / 0.8179 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.01692, allocations: 193.2 kB / 0.8181 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.01692, allocations: 4.781 kB / 0.8181 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.01717, allocations: 36.62 kB / 0.8182 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.421e-06/0.01717, allocations: 3.984 kB / 0.8182 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.0172, allocations: 11.67 kB / 0.8182 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.0172, allocations: 4 kB / 0.8182 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.0172, allocations: 3.938 kB / 0.8182 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008986/0.0181, allocations: 345.7 kB / 0.8185 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/0.01813, allocations: 15.88 kB / 0.8185 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.01817, allocations: 5.781 kB / 0.8185 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.01832, allocations: 15.98 kB / 0.8186 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.535e-05/0.01841, allocations: 19.95 kB / 0.8186 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.01843, allocations: 8 kB / 0.8186 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001312/0.01856, allocations: 125.3 kB / 0.8187 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01856, allocations: 0 / 0.8187 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002752/0.01884, allocations: 53.02 kB / 0.8188 GB, free: 9.738 MB / 0.7761 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.0001472/0.01898, allocations: 103.2 kB / 0.8189 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005597/0.01954, allocations: 175.4 kB / 0.819 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.01955, allocations: 0 / 0.819 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.01981, allocations: 83.89 kB / 0.8191 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.02015, allocations: 41.66 kB / 0.8191 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009064/0.02105, allocations: 410.3 kB / 0.8195 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.0212, allocations: 130.5 kB / 0.8197 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001093/0.0213, allocations: 17.48 kB / 0.8197 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.327e-05/0.02138, allocations: 20.5 kB / 0.8197 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of SimCode: time 4.5e-07/0.02138, allocations: 4 kB / 0.8197 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of Templates: time 0.006807/0.02819, allocations: 2.391 MB / 0.822 GB, free: 6.402 MB / 0.7761 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/jenkins/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: 7.964366729953326]