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.001235/0.001235, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001272/0.001272, allocations: 189.8 kB / 22.23 MB, free: 5.133 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.288/1.288, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.913/2.913, allocations: 0.4893 GB / 0.7884 GB, free: 33.2 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.001845/0.001845, allocations: 66.42 kB / 1.145 GB, free: 30.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2982, allocations: 174.9 MB / 1.316 GB, free: 9.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.00249/0.3007, allocations: 1.172 MB / 1.317 GB, free: 8.645 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.3021, allocations: 1.061 MB / 1.318 GB, free: 7.57 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.3023, allocations: 11.88 kB / 1.318 GB, free: 7.559 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.404e-05/0.3023, allocations: 19.73 kB / 1.318 GB, free: 7.539 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.3025, allocations: 39.58 kB / 1.318 GB, free: 7.5 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.3028, allocations: 91.84 kB / 1.318 GB, free: 7.41 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.3031, allocations: 247.2 kB / 1.319 GB, free: 7.168 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.3033, allocations: 72.92 kB / 1.319 GB, free: 7.09 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.3035, allocations: 107.6 kB / 1.319 GB, free: 6.984 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.3037, allocations: 103.5 kB / 1.319 GB, free: 6.883 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.541e-05/0.3037, allocations: 24 kB / 1.319 GB, free: 6.859 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.67e-05/0.3038, allocations: 24 kB / 1.319 GB, free: 6.836 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.3038, allocations: 51.84 kB / 1.319 GB, free: 6.785 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.3039, allocations: 111.5 kB / 1.319 GB, free: 6.676 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003278/0.3043, allocations: 290.7 kB / 1.319 GB, free: 6.391 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3043, allocations: 0 / 1.319 GB, free: 6.391 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3043, allocations: 0 / 1.319 GB, free: 6.391 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.3043, allocations: 0 / 1.319 GB, free: 6.391 MB / 1.014 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.0009053/0.3052, allocations: 474.9 kB / 1.32 GB, free: 5.898 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3052, allocations: 8.031 kB / 1.32 GB, free: 5.891 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.858e-05/0.3053, allocations: 28.73 kB / 1.32 GB, free: 5.863 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.3056, allocations: 190.6 kB / 1.32 GB, free: 5.652 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-05/0.3057, allocations: 79.97 kB / 1.32 GB, free: 5.562 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.3057, allocations: 16.38 kB / 1.32 GB, free: 5.547 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.3062, allocations: 198.5 kB / 1.32 GB, free: 5.348 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3062, allocations: 0 / 1.32 GB, free: 5.348 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.3062, allocations: 8 kB / 1.32 GB, free: 5.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3062, allocations: 4 kB / 1.32 GB, free: 5.336 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004099/0.3066, allocations: 147.9 kB / 1.32 GB, free: 5.191 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008715/0.3075, allocations: 0.5459 MB / 1.321 GB, free: 4.602 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003819/0.3079, allocations: 144.3 kB / 1.321 GB, free: 4.453 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.3081, allocations: 76.8 kB / 1.321 GB, free: 4.375 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.3081, allocations: 7.984 kB / 1.321 GB, free: 4.367 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.3084, allocations: 151.2 kB / 1.321 GB, free: 4.207 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.3084, allocations: 0 / 1.321 GB, free: 4.207 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.0006955/0.3091, allocations: 271.1 kB / 1.322 GB, free: 3.938 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.3092, allocations: 55.41 kB / 1.322 GB, free: 3.871 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.3094, allocations: 196.1 kB / 1.322 GB, free: 3.668 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.3094, allocations: 33.69 kB / 1.322 GB, free: 3.629 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.348e-05/0.3095, allocations: 128.6 kB / 1.322 GB, free: 3.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.949e-05/0.3095, allocations: 71.41 kB / 1.322 GB, free: 3.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.438e-05/0.3096, allocations: 41.7 kB / 1.322 GB, free: 3.383 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3098, allocations: 330.8 kB / 1.322 GB, free: 3.051 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.31, allocations: 79.83 kB / 1.322 GB, free: 2.973 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.3102, allocations: 109.1 kB / 1.323 GB, free: 2.859 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/0.3106, allocations: 174.4 kB / 1.323 GB, free: 2.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3106, allocations: 4 kB / 1.323 GB, free: 2.676 MB / 1.014 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005016/0.3111, allocations: 229.4 kB / 1.323 GB, free: 2.445 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3111, allocations: 11.94 kB / 1.323 GB, free: 2.434 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3111, allocations: 0 / 1.323 GB, free: 2.434 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3111, allocations: 0 / 1.323 GB, free: 2.434 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.3114, allocations: 43.91 kB / 1.323 GB, free: 2.391 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3114, allocations: 4 kB / 1.323 GB, free: 2.387 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.3115, allocations: 35.86 kB / 1.323 GB, free: 2.352 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.3115, allocations: 7.938 kB / 1.323 GB, free: 2.344 MB / 1.014 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.000134/0.3117, allocations: 133.8 kB / 1.323 GB, free: 2.203 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.3117, allocations: 15.91 kB / 1.323 GB, free: 2.188 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.301e-05/0.3117, allocations: 25.8 kB / 1.323 GB, free: 2.16 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3118, allocations: 4 kB / 1.323 GB, free: 2.156 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3118, allocations: 0 / 1.323 GB, free: 2.156 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3118, allocations: 0 / 1.323 GB, free: 2.156 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.312, allocations: 264.5 kB / 1.323 GB, free: 1.855 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.312, allocations: 0 / 1.323 GB, free: 1.855 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.3123, allocations: 39.97 kB / 1.324 GB, free: 1.816 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.3123, allocations: 4 kB / 1.324 GB, free: 1.812 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.3123, allocations: 3.938 kB / 1.324 GB, free: 1.809 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3123, allocations: 0 / 1.324 GB, free: 1.809 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3123, allocations: 4 kB / 1.324 GB, free: 1.805 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007123/0.313, allocations: 338.1 kB / 1.324 GB, free: 1.457 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.313, allocations: 23.88 kB / 1.324 GB, free: 1.434 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.3131, allocations: 3.984 kB / 1.324 GB, free: 1.43 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.3132, allocations: 15.98 kB / 1.324 GB, free: 1.414 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.3133, allocations: 23.91 kB / 1.324 GB, free: 1.391 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.3133, allocations: 8.062 kB / 1.324 GB, free: 1.383 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001327/0.3134, allocations: 148.2 kB / 1.324 GB, free: 1.238 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.3134, allocations: 0 / 1.324 GB, free: 1.238 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002368/0.3136, allocations: 43.89 kB / 1.324 GB, free: 1.195 MB / 1.014 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.0001287/0.3138, allocations: 107.2 kB / 1.324 GB, free: 1.078 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004682/0.3142, allocations: 179.8 kB / 1.324 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3142, allocations: 3.938 kB / 1.324 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.3145, allocations: 89.25 kB / 1.324 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.3147, allocations: 42.34 kB / 1.325 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007956/0.3155, allocations: 421.8 kB / 1.325 GB, free: 344 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.3159, allocations: 0.7478 MB / 1.326 GB, free: 15.56 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.5e-05/0.316, allocations: 13.64 kB / 1.326 GB, free: 15.55 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.316, allocations: 23.42 kB / 1.326 GB, free: 15.52 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.316, allocations: 0 / 1.326 GB, free: 15.52 MB / 1.029 GB Notification: Performance of Templates: time 0.005987/0.322, allocations: 2.46 MB / 1.328 GB, free: 13.1 MB / 1.029 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: 8.002443727105856]