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.001415/0.001415, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001551/0.001551, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.801 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.498/3.498, allocations: 0.4892 GB / 0.7943 GB, free: 35.77 MB / 0.6231 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.003369/0.003369, allocations: 62.89 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3809, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.00276/0.3837, allocations: 1.075 MB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.3853, allocations: 1.081 MB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.3854, allocations: 8 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.367e-05/0.3855, allocations: 19.73 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.3856, allocations: 39.59 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.386, allocations: 95.83 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002833/0.3863, allocations: 239.3 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.3865, allocations: 75.78 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002274/0.3867, allocations: 103.6 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.3869, allocations: 95.52 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.329e-05/0.3869, allocations: 31.94 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.503e-05/0.387, allocations: 28 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.285e-05/0.387, allocations: 51.84 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.3871, allocations: 91.52 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003856/0.3875, allocations: 290.7 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3875, allocations: 0 / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3875, allocations: 0 / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3875, allocations: 0 / 1.329 GB, free: 14.53 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.0009613/0.3885, allocations: 479.2 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3885, allocations: 12.03 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002401/0.3888, allocations: 40.73 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.3891, allocations: 190.7 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.3892, allocations: 127.3 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.3893, allocations: 16.38 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.3897, allocations: 194.5 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.3897, allocations: 4 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.3897, allocations: 8 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.3897, allocations: 4 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004203/0.3902, allocations: 155.8 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008508/0.391, allocations: 467.8 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.3914, allocations: 130.8 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.3916, allocations: 80.81 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.3916, allocations: 320 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003224/0.392, allocations: 147.3 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/0.392, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0007593/0.3927, allocations: 267.1 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.3928, allocations: 59.34 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.393, allocations: 174.7 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.393, allocations: 33.7 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.3931, allocations: 140.5 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.321e-05/0.3932, allocations: 63.48 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.189e-05/0.3933, allocations: 45.7 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3934, allocations: 330.8 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.3937, allocations: 75.89 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.3939, allocations: 101.1 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.3943, allocations: 174.4 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3943, allocations: 0 / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005137/0.3948, allocations: 237.3 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3948, allocations: 4 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3948, allocations: 0 / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3949, allocations: 8 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.3951, allocations: 47.91 kB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.3951, allocations: 8.078 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.3952, allocations: 31.86 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.3953, allocations: 4 kB / 1.332 GB, free: 10.54 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.0001523/0.3954, allocations: 133.8 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.3954, allocations: 11.91 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.845e-05/0.3955, allocations: 25.8 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3955, allocations: 8 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3955, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3955, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.3958, allocations: 201.1 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3958, allocations: 0 / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.396, allocations: 47.91 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.396, allocations: 4 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.396, allocations: 0 / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.396, allocations: 0 / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.396, allocations: 4 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007818/0.3968, allocations: 339.4 kB / 1.333 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/0.3968, allocations: 15.94 kB / 1.333 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.3969, allocations: 0 / 1.333 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.397, allocations: 23.97 kB / 1.333 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.3971, allocations: 15.97 kB / 1.333 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.3971, allocations: 8.062 kB / 1.333 GB, free: 9.656 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001195/0.3972, allocations: 140.3 kB / 1.333 GB, free: 9.52 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3972, allocations: 0 / 1.333 GB, free: 9.52 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002621/0.3975, allocations: 47.84 kB / 1.333 GB, free: 9.473 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.0001413/0.3976, allocations: 107.2 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004961/0.3981, allocations: 171.8 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3981, allocations: 8 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.3983, allocations: 83.89 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.3987, allocations: 38.3 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008397/0.3995, allocations: 435.2 kB / 1.334 GB, free: 8.613 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.3996, allocations: 129.4 kB / 1.334 GB, free: 8.465 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.123e-05/0.3997, allocations: 21.47 kB / 1.334 GB, free: 8.445 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/0.3998, allocations: 27.42 kB / 1.334 GB, free: 8.418 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/0.3998, allocations: 0 / 1.334 GB, free: 8.418 MB / 1.029 GB Notification: Performance of Templates: time 0.00645/0.4062, allocations: 2.563 MB / 1.337 GB, free: 5.914 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/jenkins/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.590764094144106]