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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 109.2 kB / 17.08 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 193.3 kB / 20.02 MB, free: 3.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.956/2.956, allocations: 491.4 MB / 0.7708 GB, free: 1.754 MB / 0.6075 GB " [Timeout remaining time 176] 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=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: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 71.89 kB / 1.106 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3348, allocations: 164.3 MB / 1.266 GB, free: 14.4 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.00247/0.3373, allocations: 1.16 MB / 1.267 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.3387, allocations: 1.049 MB / 1.268 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.005e-05/0.3388, allocations: 0 / 1.268 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.868e-05/0.3389, allocations: 23.73 kB / 1.268 GB, free: 12.15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.3391, allocations: 39.59 kB / 1.268 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.3394, allocations: 91.83 kB / 1.268 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.3397, allocations: 247.3 kB / 1.269 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.3399, allocations: 103.2 kB / 1.269 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.3401, allocations: 99.58 kB / 1.269 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.3403, allocations: 103.5 kB / 1.269 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.3403, allocations: 24 kB / 1.269 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.041e-05/0.3404, allocations: 24 kB / 1.269 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.3404, allocations: 55.83 kB / 1.269 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.3405, allocations: 107.4 kB / 1.269 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.3409, allocations: 294.8 kB / 1.269 GB, free: 10.97 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3409, allocations: 0 / 1.269 GB, free: 10.97 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3409, allocations: 0 / 1.269 GB, free: 10.97 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.3409, allocations: 0 / 1.269 GB, free: 10.97 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.0009247/0.3418, allocations: 0.5295 MB / 1.27 GB, free: 10.39 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3419, allocations: 12.03 kB / 1.27 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.929e-05/0.342, allocations: 24.8 kB / 1.27 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.3423, allocations: 251.9 kB / 1.27 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.3424, allocations: 71.97 kB / 1.27 GB, free: 9.992 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.015e-05/0.3425, allocations: 16.38 kB / 1.27 GB, free: 9.977 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004436/0.3429, allocations: 189.8 kB / 1.27 GB, free: 9.785 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.343, allocations: 0 / 1.27 GB, free: 9.785 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.343, allocations: 8 kB / 1.27 GB, free: 9.777 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.343, allocations: 8 kB / 1.27 GB, free: 9.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/0.3435, allocations: 159.8 kB / 1.271 GB, free: 9.613 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009515/0.3444, allocations: 0.5819 MB / 1.271 GB, free: 8.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/0.3448, allocations: 138.8 kB / 1.271 GB, free: 8.836 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.3451, allocations: 76.81 kB / 1.271 GB, free: 8.758 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.3451, allocations: 11.94 kB / 1.271 GB, free: 8.746 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003127/0.3454, allocations: 141.4 kB / 1.272 GB, free: 8.598 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.3454, allocations: 0 / 1.272 GB, free: 8.598 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.0007357/0.3462, allocations: 271.8 kB / 1.272 GB, free: 8.328 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.3463, allocations: 59.39 kB / 1.272 GB, free: 8.258 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.3465, allocations: 187.5 kB / 1.272 GB, free: 8.062 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.3465, allocations: 33.7 kB / 1.272 GB, free: 8.023 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.3466, allocations: 144.4 kB / 1.272 GB, free: 7.879 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.3467, allocations: 59.48 kB / 1.272 GB, free: 7.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/0.3468, allocations: 37.7 kB / 1.272 GB, free: 7.777 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.347, allocations: 338.8 kB / 1.273 GB, free: 7.438 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.3472, allocations: 71.95 kB / 1.273 GB, free: 7.367 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.3475, allocations: 101.8 kB / 1.273 GB, free: 7.262 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004224/0.3479, allocations: 174.5 kB / 1.273 GB, free: 7.082 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3479, allocations: 0 / 1.273 GB, free: 7.082 MB / 1.061 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005387/0.3484, allocations: 249.3 kB / 1.273 GB, free: 6.832 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3485, allocations: 4 kB / 1.273 GB, free: 6.828 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.3485, allocations: 4 kB / 1.273 GB, free: 6.824 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3485, allocations: 0 / 1.273 GB, free: 6.824 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.3487, allocations: 43.97 kB / 1.273 GB, free: 6.781 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3487, allocations: 0 / 1.273 GB, free: 6.781 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.3489, allocations: 27.88 kB / 1.273 GB, free: 6.754 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.3489, allocations: 11.94 kB / 1.273 GB, free: 6.742 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.0001429/0.3491, allocations: 144.1 kB / 1.273 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.3491, allocations: 15.91 kB / 1.273 GB, free: 6.578 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.172e-05/0.3492, allocations: 21.88 kB / 1.273 GB, free: 6.559 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.3492, allocations: 8 kB / 1.273 GB, free: 6.551 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3492, allocations: 0 / 1.273 GB, free: 6.551 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3492, allocations: 3.984 kB / 1.273 GB, free: 6.547 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/0.3496, allocations: 293.4 kB / 1.274 GB, free: 6.211 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3496, allocations: 0 / 1.274 GB, free: 6.211 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.3498, allocations: 43.91 kB / 1.274 GB, free: 6.168 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3498, allocations: 0 / 1.274 GB, free: 6.168 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.3498, allocations: 0 / 1.274 GB, free: 6.168 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3498, allocations: 4 kB / 1.274 GB, free: 6.164 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3499, allocations: 0 / 1.274 GB, free: 6.164 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007876/0.3506, allocations: 337.3 kB / 1.274 GB, free: 5.816 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.542e-05/0.3507, allocations: 100.9 kB / 1.274 GB, free: 5.699 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.3508, allocations: 4 kB / 1.274 GB, free: 5.695 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.3509, allocations: 31.97 kB / 1.274 GB, free: 5.664 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.351, allocations: 15.92 kB / 1.274 GB, free: 5.648 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.351, allocations: 4 kB / 1.274 GB, free: 5.645 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001381/0.3512, allocations: 149.7 kB / 1.274 GB, free: 5.5 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3512, allocations: 0 / 1.274 GB, free: 5.5 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002416/0.3514, allocations: 39.95 kB / 1.274 GB, free: 5.461 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.0001292/0.3515, allocations: 107.2 kB / 1.275 GB, free: 5.344 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005141/0.3521, allocations: 179.8 kB / 1.275 GB, free: 5.168 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3521, allocations: 0 / 1.275 GB, free: 5.168 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.3523, allocations: 89.61 kB / 1.275 GB, free: 5.082 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.3527, allocations: 45 kB / 1.275 GB, free: 5.039 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009095/0.3536, allocations: 462.8 kB / 1.275 GB, free: 4.555 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.354, allocations: 0.7361 MB / 1.276 GB, free: 3.789 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.327e-05/0.3541, allocations: 23.44 kB / 1.276 GB, free: 3.766 MB / 1.061 GB Notification: Performance of SimCode: time 2.21e-07/0.3541, allocations: 0 / 1.276 GB, free: 3.766 MB / 1.061 GB Notification: Performance of Templates: time 0.004953/0.359, allocations: 2.635 MB / 1.279 GB, free: 1.152 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=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/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 [Calling sys.exit(0), Time elapsed: 11.049149211030453]