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.001426/0.001426, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001773/0.001773, allocations: 158.1 kB / 23.01 MB, free: 4.949 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.459/1.459, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.869/2.869, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 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.002393/0.002393, allocations: 67.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9948/0.9972, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002305/0.9995, allocations: 1.083 MB / 1.188 GB, free: 15.51 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001325/1.001, allocations: 1.079 MB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/1.001, allocations: 4.125 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.438e-05/1.001, allocations: 23.16 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001637/1.001, allocations: 36.38 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/1.002, allocations: 104.1 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002597/1.002, allocations: 240.7 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/1.002, allocations: 76.28 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/1.002, allocations: 102.8 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/1.002, allocations: 95.69 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/1.002, allocations: 23.62 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/1.002, allocations: 35.5 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.687e-05/1.003, allocations: 52.22 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.145e-05/1.003, allocations: 81.23 kB / 1.19 GB, free: 14.24 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003553/1.003, allocations: 291.7 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.003, allocations: 0 / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.643e-06/1.003, allocations: 7.938 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.184e-06/1.003, allocations: 0 / 1.19 GB, free: 14.12 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.0008584/1.004, allocations: 469.4 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/1.004, allocations: 9.938 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002509/1.004, allocations: 45.84 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/1.004, allocations: 194.8 kB / 1.191 GB, free: 13.56 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.68e-05/1.005, allocations: 119.4 kB / 1.191 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/1.005, allocations: 21.8 kB / 1.191 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/1.005, allocations: 188.2 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/1.005, allocations: 0.5625 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/1.005, allocations: 5.156 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/1.005, allocations: 5 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004288/1.005, allocations: 161.8 kB / 1.191 GB, free: 13.29 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007429/1.006, allocations: 458.3 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/1.007, allocations: 132.7 kB / 1.192 GB, free: 12.9 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/1.007, allocations: 80.81 kB / 1.192 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/1.007, allocations: 6.75 kB / 1.192 GB, free: 12.86 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003055/1.007, allocations: 144.2 kB / 1.192 GB, free: 12.79 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 2.174e-06/1.007, allocations: 1.25 kB / 1.192 GB, free: 12.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.0007448/1.008, allocations: 271.8 kB / 1.192 GB, free: 12.68 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/1.008, allocations: 56.16 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/1.008, allocations: 169.4 kB / 1.192 GB, free: 12.5 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/1.008, allocations: 31.89 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.651e-05/1.008, allocations: 141.8 kB / 1.192 GB, free: 12.34 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.361e-05/1.008, allocations: 64.25 kB / 1.192 GB, free: 12.29 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.671e-05/1.008, allocations: 41.12 kB / 1.193 GB, free: 12.26 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.943e-05/1.008, allocations: 333 kB / 1.193 GB, free: 11.93 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/1.009, allocations: 78.73 kB / 1.193 GB, free: 11.91 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/1.009, allocations: 104.1 kB / 1.193 GB, free: 11.86 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/1.009, allocations: 176 kB / 1.193 GB, free: 11.77 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.009, allocations: 0 / 1.193 GB, free: 11.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000517/1.01, allocations: 241.2 kB / 1.193 GB, free: 11.66 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.01, allocations: 8.484 kB / 1.193 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.01, allocations: 1.375 kB / 1.193 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/1.01, allocations: 1.281 kB / 1.193 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/1.01, allocations: 47.98 kB / 1.193 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/1.01, allocations: 2.906 kB / 1.193 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/1.01, allocations: 27.59 kB / 1.193 GB, free: 11.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/1.01, allocations: 9.375 kB / 1.193 GB, free: 11.64 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 9.891e-05/1.01, allocations: 142.4 kB / 1.194 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.912e-05/1.01, allocations: 19.14 kB / 1.194 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.757e-05/1.01, allocations: 22.94 kB / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/1.01, allocations: 2.844 kB / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.01, allocations: 0 / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/1.01, allocations: 2.172 kB / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/1.011, allocations: 196.6 kB / 1.194 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.011, allocations: 0 / 1.194 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/1.011, allocations: 40.42 kB / 1.194 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/1.011, allocations: 0.9375 kB / 1.194 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/1.011, allocations: 6.797 kB / 1.194 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.011, allocations: 5.625 kB / 1.194 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.011, allocations: 0 / 1.194 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007146/1.012, allocations: 335.3 kB / 1.194 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.689e-05/1.012, allocations: 18.14 kB / 1.194 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/1.012, allocations: 9.766 kB / 1.194 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/1.012, allocations: 18.47 kB / 1.194 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/1.012, allocations: 19.34 kB / 1.194 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/1.012, allocations: 5.766 kB / 1.194 GB, free: 11.11 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.674e-05/1.012, allocations: 135.4 kB / 1.194 GB, free: 11.01 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.012, allocations: 0 / 1.194 GB, free: 11.01 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002564/1.012, allocations: 42.22 kB / 1.194 GB, free: 11 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 8.843e-05/1.012, allocations: 113 kB / 1.195 GB, free: 10.9 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005123/1.013, allocations: 171.7 kB / 1.195 GB, free: 10.85 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.013, allocations: 0.75 kB / 1.195 GB, free: 10.85 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/1.013, allocations: 86.22 kB / 1.195 GB, free: 10.83 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/1.013, allocations: 51.56 kB / 1.195 GB, free: 10.81 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007976/1.014, allocations: 424.5 kB / 1.195 GB, free: 10.54 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/1.014, allocations: 131.9 kB / 1.195 GB, free: 10.45 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.439e-05/1.014, allocations: 22.44 kB / 1.195 GB, free: 10.45 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.413e-05/1.014, allocations: 24.58 kB / 1.195 GB, free: 10.43 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/1.014, allocations: 0 / 1.195 GB, free: 10.43 MB / 1.076 GB Notification: Performance of Templates: time 0.006624/1.021, allocations: 2.376 MB / 1.198 GB, free: 10.14 MB / 1.076 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 -s ida -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: 8.899154500919394]