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.001367/0.001367, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001434/0.001434, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.482/1.482, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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 2.776/2.776, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 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.002082/0.002082, allocations: 67.91 kB / 0.9819 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.066, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002215/1.068, allocations: 1.066 MB / 1.155 GB, free: 32.61 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001109/1.069, allocations: 1.08 MB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.817e-05/1.069, allocations: 2.969 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.273e-05/1.069, allocations: 23.11 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001419/1.069, allocations: 39.77 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/1.07, allocations: 95.75 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002083/1.07, allocations: 240.5 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/1.07, allocations: 77.08 kB / 1.156 GB, free: 31.54 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/1.07, allocations: 110.4 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/1.07, allocations: 93.92 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/1.07, allocations: 25.06 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.087e-05/1.07, allocations: 30.53 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.25e-05/1.07, allocations: 51.14 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.859e-05/1.07, allocations: 90.14 kB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/1.071, allocations: 288.1 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.071, allocations: 0 / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.623e-06/1.071, allocations: 0 / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.194e-05/1.071, allocations: 4 kB / 1.157 GB, free: 31.23 MB / 1.076 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.0008419/1.072, allocations: 474.9 kB / 1.158 GB, free: 30.86 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/1.072, allocations: 8.688 kB / 1.158 GB, free: 30.86 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/1.072, allocations: 46.25 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/1.072, allocations: 197 kB / 1.158 GB, free: 30.66 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-05/1.072, allocations: 115.7 kB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/1.072, allocations: 20.03 kB / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003681/1.073, allocations: 188.8 kB / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/1.073, allocations: 6.797 kB / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/1.073, allocations: 4 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/1.073, allocations: 8.984 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/1.073, allocations: 158.4 kB / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006515/1.074, allocations: 465 kB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/1.074, allocations: 132.2 kB / 1.159 GB, free: 29.99 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/1.074, allocations: 85.36 kB / 1.159 GB, free: 29.96 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/1.074, allocations: 3 kB / 1.159 GB, free: 29.96 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002756/1.074, allocations: 142.8 kB / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/1.074, allocations: 0 / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.0006602/1.075, allocations: 267.8 kB / 1.159 GB, free: 29.78 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/1.075, allocations: 60.47 kB / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/1.075, allocations: 171.8 kB / 1.16 GB, free: 29.59 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/1.075, allocations: 32.33 kB / 1.16 GB, free: 29.55 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/1.075, allocations: 137.9 kB / 1.16 GB, free: 29.43 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/1.075, allocations: 62.11 kB / 1.16 GB, free: 29.38 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/1.075, allocations: 45.25 kB / 1.16 GB, free: 29.35 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.155e-05/1.076, allocations: 332.4 kB / 1.16 GB, free: 29.03 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/1.076, allocations: 79.75 kB / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/1.076, allocations: 114.3 kB / 1.16 GB, free: 28.94 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/1.076, allocations: 177.1 kB / 1.16 GB, free: 28.86 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.076, allocations: 0 / 1.16 GB, free: 28.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004605/1.077, allocations: 227.9 kB / 1.161 GB, free: 28.76 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/1.077, allocations: 5.812 kB / 1.161 GB, free: 28.76 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.077, allocations: 0 / 1.161 GB, free: 28.76 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.077, allocations: 3.062 kB / 1.161 GB, free: 28.76 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/1.077, allocations: 49.11 kB / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/1.077, allocations: 2.469 kB / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/1.077, allocations: 18.14 kB / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/1.077, allocations: 12.69 kB / 1.161 GB, free: 28.75 MB / 1.076 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.849e-05/1.077, allocations: 142 kB / 1.161 GB, free: 28.61 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/1.077, allocations: 16.5 kB / 1.161 GB, free: 28.6 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.486e-05/1.077, allocations: 24.25 kB / 1.161 GB, free: 28.58 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/1.077, allocations: 2.875 kB / 1.161 GB, free: 28.58 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.077, allocations: 0 / 1.161 GB, free: 28.58 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.077, allocations: 0 / 1.161 GB, free: 28.58 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/1.077, allocations: 206 kB / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/1.077, allocations: 0 / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/1.078, allocations: 35 kB / 1.161 GB, free: 28.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/1.078, allocations: 6.219 kB / 1.161 GB, free: 28.4 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/1.078, allocations: 4 kB / 1.161 GB, free: 28.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.078, allocations: 6.594 kB / 1.161 GB, free: 28.39 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.078, allocations: 0 / 1.161 GB, free: 28.39 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006536/1.078, allocations: 331.4 kB / 1.162 GB, free: 28.24 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/1.078, allocations: 21.34 kB / 1.162 GB, free: 28.22 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/1.078, allocations: 6.328 kB / 1.162 GB, free: 28.22 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/1.079, allocations: 19.86 kB / 1.162 GB, free: 28.21 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/1.079, allocations: 23.88 kB / 1.162 GB, free: 28.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/1.079, allocations: 2.938 kB / 1.162 GB, free: 28.21 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.294e-05/1.079, allocations: 138.9 kB / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.079, allocations: 0 / 1.162 GB, free: 28.11 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002355/1.079, allocations: 43.88 kB / 1.162 GB, free: 28.1 MB / 1.076 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 9.804e-05/1.079, allocations: 114.4 kB / 1.162 GB, free: 28 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004486/1.079, allocations: 171.5 kB / 1.162 GB, free: 27.95 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.079, allocations: 0 / 1.162 GB, free: 27.95 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/1.08, allocations: 91.22 kB / 1.162 GB, free: 27.92 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/1.08, allocations: 46.88 kB / 1.162 GB, free: 27.9 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006934/1.081, allocations: 424.2 kB / 1.163 GB, free: 27.63 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.204e-05/1.081, allocations: 132.5 kB / 1.163 GB, free: 27.55 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.852e-05/1.081, allocations: 13.88 kB / 1.163 GB, free: 27.55 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/1.081, allocations: 22.19 kB / 1.163 GB, free: 27.54 MB / 1.076 GB Notification: Performance of SimCode: time 3.4e-07/1.081, allocations: 5.75 kB / 1.163 GB, free: 27.53 MB / 1.076 GB Notification: Performance of Templates: time 0.005265/1.086, allocations: 2.371 MB / 1.165 GB, free: 27.25 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.233981364988722]