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.001538/0.001538, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.00168/0.00168, allocations: 190.5 kB / 22.17 MB, free: 5.656 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.327/1.327, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.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.861/2.861, allocations: 497.2 MB / 0.7845 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 177] 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.001837/0.001837, allocations: 69.61 kB / 1.139 GB, free: 33.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2898, allocations: 173.9 MB / 1.309 GB, free: 60 kB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002653/0.2924, allocations: 1.164 MB / 1.31 GB, free: 14.89 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.294, allocations: 1.053 MB / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.2942, allocations: 4 kB / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.422e-05/0.2942, allocations: 23.67 kB / 1.311 GB, free: 13.79 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.2944, allocations: 39.66 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.2948, allocations: 91.83 kB / 1.312 GB, free: 13.66 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003118/0.2951, allocations: 251.2 kB / 1.312 GB, free: 13.42 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.2953, allocations: 73.48 kB / 1.312 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.2954, allocations: 95.64 kB / 1.312 GB, free: 13.25 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.2956, allocations: 103.5 kB / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.477e-05/0.2956, allocations: 24 kB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.597e-05/0.2957, allocations: 24 kB / 1.312 GB, free: 13.1 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.727e-05/0.2957, allocations: 59.77 kB / 1.312 GB, free: 13.04 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.2958, allocations: 115.4 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000329/0.2961, allocations: 282.8 kB / 1.313 GB, free: 12.65 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2962, allocations: 0 / 1.313 GB, free: 12.65 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.599e-06/0.2962, allocations: 7.938 kB / 1.313 GB, free: 12.64 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.2962, allocations: 0 / 1.313 GB, free: 12.64 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.0009587/0.2971, allocations: 0.5352 MB / 1.313 GB, free: 12.06 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2972, allocations: 12.61 kB / 1.313 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.246e-05/0.2972, allocations: 24.8 kB / 1.313 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.2976, allocations: 247.9 kB / 1.313 GB, free: 11.74 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.787e-05/0.2976, allocations: 71.95 kB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.958e-05/0.2977, allocations: 16.38 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004182/0.2981, allocations: 198.5 kB / 1.314 GB, free: 11.45 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.2981, allocations: 4 kB / 1.314 GB, free: 11.44 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.2981, allocations: 12 kB / 1.314 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-06/0.2982, allocations: 7.938 kB / 1.314 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004205/0.2986, allocations: 147.9 kB / 1.314 GB, free: 11.28 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008475/0.2994, allocations: 0.5742 MB / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.2998, allocations: 130.8 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.3, allocations: 84.81 kB / 1.315 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.3, allocations: 0 / 1.315 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000298/0.3003, allocations: 147.2 kB / 1.315 GB, free: 10.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/0.3003, allocations: 4 kB / 1.315 GB, free: 10.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.000711/0.301, allocations: 274.9 kB / 1.315 GB, free: 9.996 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.3011, allocations: 55.41 kB / 1.315 GB, free: 9.93 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.3013, allocations: 192.8 kB / 1.315 GB, free: 9.73 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.3013, allocations: 29.7 kB / 1.315 GB, free: 9.695 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.3014, allocations: 140.4 kB / 1.315 GB, free: 9.555 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/0.3014, allocations: 63.47 kB / 1.315 GB, free: 9.492 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.341e-05/0.3015, allocations: 41.7 kB / 1.315 GB, free: 9.445 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3017, allocations: 338.8 kB / 1.316 GB, free: 9.105 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.3019, allocations: 71.95 kB / 1.316 GB, free: 9.035 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.3021, allocations: 98.52 kB / 1.316 GB, free: 8.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.3025, allocations: 174.4 kB / 1.316 GB, free: 8.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3025, allocations: 0 / 1.316 GB, free: 8.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005045/0.303, allocations: 237.3 kB / 1.316 GB, free: 8.512 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.303, allocations: 6.031 kB / 1.316 GB, free: 8.508 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.303, allocations: 0 / 1.316 GB, free: 8.508 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.303, allocations: 8 kB / 1.316 GB, free: 8.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.3032, allocations: 47.91 kB / 1.316 GB, free: 8.453 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3033, allocations: 0 / 1.316 GB, free: 8.453 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.3034, allocations: 27.92 kB / 1.316 GB, free: 8.426 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.3034, allocations: 7.938 kB / 1.316 GB, free: 8.418 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.0001255/0.3035, allocations: 137 kB / 1.317 GB, free: 8.277 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.3036, allocations: 19.86 kB / 1.317 GB, free: 8.258 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.052e-05/0.3036, allocations: 29.86 kB / 1.317 GB, free: 8.23 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3036, allocations: 3.938 kB / 1.317 GB, free: 8.227 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3036, allocations: 7.938 kB / 1.317 GB, free: 8.219 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3036, allocations: 4 kB / 1.317 GB, free: 8.215 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.3039, allocations: 289.4 kB / 1.317 GB, free: 7.883 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3039, allocations: 4 kB / 1.317 GB, free: 7.879 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.3041, allocations: 35.97 kB / 1.317 GB, free: 7.844 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3041, allocations: 3.938 kB / 1.317 GB, free: 7.84 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.3042, allocations: 4 kB / 1.317 GB, free: 7.836 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3042, allocations: 8 kB / 1.317 GB, free: 7.828 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3042, allocations: 0 / 1.317 GB, free: 7.828 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007243/0.3049, allocations: 338 kB / 1.317 GB, free: 7.48 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.828e-05/0.3049, allocations: 96.94 kB / 1.317 GB, free: 7.367 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.305, allocations: 8.062 kB / 1.317 GB, free: 7.359 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.3051, allocations: 19.97 kB / 1.317 GB, free: 7.34 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.3052, allocations: 27.89 kB / 1.317 GB, free: 7.312 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.3052, allocations: 8 kB / 1.317 GB, free: 7.305 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001178/0.3053, allocations: 139 kB / 1.318 GB, free: 7.168 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3053, allocations: 0 / 1.318 GB, free: 7.168 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002477/0.3056, allocations: 40 kB / 1.318 GB, free: 7.129 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.0001144/0.3057, allocations: 103.2 kB / 1.318 GB, free: 7.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00048/0.3062, allocations: 179.7 kB / 1.318 GB, free: 6.844 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3062, allocations: 0 / 1.318 GB, free: 6.844 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.3064, allocations: 86.12 kB / 1.318 GB, free: 6.762 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.3067, allocations: 55.22 kB / 1.318 GB, free: 6.715 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000774/0.3075, allocations: 428.7 kB / 1.318 GB, free: 6.266 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.3078, allocations: 0.74 MB / 1.319 GB, free: 5.496 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.132e-05/0.3079, allocations: 21.53 kB / 1.319 GB, free: 5.473 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.998e-05/0.3079, allocations: 23.44 kB / 1.319 GB, free: 5.449 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.3079, allocations: 3.938 kB / 1.319 GB, free: 5.445 MB / 1.014 GB Notification: Performance of Templates: time 0.005546/0.3135, allocations: 2.411 MB / 1.322 GB, free: 3.066 MB / 1.014 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 -s gbode -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_2/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: 7.870942225214094]