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.00158/0.00158, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001697/0.001697, allocations: 220 kB / 23.04 MB, free: 4.852 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.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 3.163/3.163, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] 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.002051/0.002051, allocations: 65.36 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.315, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002493/0.3175, allocations: 1.078 MB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.319, allocations: 1.081 MB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.3191, allocations: 4 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.877e-05/0.3191, allocations: 19.73 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.3193, allocations: 39.59 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.3196, allocations: 95.83 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.3199, allocations: 243.3 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.3201, allocations: 75.78 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.3203, allocations: 103.6 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.3205, allocations: 99.45 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.34e-05/0.3205, allocations: 24 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.535e-05/0.3206, allocations: 28 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.609e-05/0.3206, allocations: 55.83 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.671e-05/0.3207, allocations: 83.53 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.3211, allocations: 290.8 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3211, allocations: 4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3211, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3211, allocations: 0 / 1.33 GB, free: 13.66 MB / 1.029 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.0009259/0.322, allocations: 473.1 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3221, allocations: 8.031 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002523/0.3223, allocations: 52.72 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.3226, allocations: 190.7 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.3228, allocations: 127.3 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.3228, allocations: 24.31 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.3232, allocations: 186.6 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3232, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.3232, allocations: 15.98 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.3233, allocations: 4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004306/0.3237, allocations: 151.9 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007839/0.3245, allocations: 459.8 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.3249, allocations: 134.8 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.3251, allocations: 85.06 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.3251, allocations: 7.906 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003181/0.3254, allocations: 140.5 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.723e-06/0.3254, allocations: 0 / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0007527/0.3262, allocations: 278.9 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.3262, allocations: 55.41 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.3264, allocations: 170.7 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.3264, allocations: 33.7 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.781e-05/0.3265, allocations: 136.5 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/0.3266, allocations: 63.48 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.839e-05/0.3267, allocations: 45.7 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3268, allocations: 330.8 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.327, allocations: 83.88 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.3272, allocations: 96.72 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004332/0.3277, allocations: 170.4 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3277, allocations: 0 / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005323/0.3282, allocations: 241.3 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3282, allocations: 8 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3282, allocations: 0 / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3282, allocations: 0 / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.3285, allocations: 51.89 kB / 1.334 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3285, allocations: 4 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.3286, allocations: 23.88 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.3286, allocations: 12 kB / 1.334 GB, free: 9.668 MB / 1.029 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.0001324/0.3288, allocations: 137.7 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.3288, allocations: 15.91 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.368e-05/0.3289, allocations: 25.8 kB / 1.334 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.3289, allocations: 4 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3289, allocations: 0 / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3289, allocations: 0 / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.3291, allocations: 201.1 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3291, allocations: 0 / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.3293, allocations: 43.97 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3293, allocations: 0 / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.3294, allocations: 7.938 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3294, allocations: 0 / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3294, allocations: 4 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007427/0.3301, allocations: 334.6 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.3301, allocations: 19.94 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.3302, allocations: 4.062 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.3303, allocations: 19.97 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/0.3304, allocations: 19.97 kB / 1.335 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.3304, allocations: 7.938 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001105/0.3305, allocations: 136.3 kB / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3305, allocations: 0 / 1.335 GB, free: 8.645 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002451/0.3307, allocations: 47.84 kB / 1.335 GB, free: 8.598 MB / 1.029 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.0001445/0.3309, allocations: 111.1 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004914/0.3314, allocations: 171.8 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3314, allocations: 0 / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.3316, allocations: 87.88 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.3319, allocations: 37.3 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008564/0.3328, allocations: 459.4 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.3329, allocations: 133.4 kB / 1.336 GB, free: 7.555 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.185e-05/0.333, allocations: 15.44 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.333, allocations: 0 / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of Templates: time 0.004827/0.3378, allocations: 2.673 MB / 1.339 GB, free: 4.883 MB / 1.029 GB " [Timeout remaining time 300] 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 -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: 11.348998154047877]