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.001327/0.001327, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001456/0.001456, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.347/1.347, allocations: 230.6 MB / 256 MB, free: 8.004 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 2.902/2.902, allocations: 0.49 GB / 0.7951 GB, free: 33.46 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.001861/0.001861, allocations: 69.28 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3032, allocations: 176.1 MB / 1.326 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002442/0.3056, allocations: 1.179 MB / 1.327 GB, free: 296 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.307, allocations: 1.104 MB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.818e-05/0.3071, allocations: 4 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.936e-05/0.3072, allocations: 19.73 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.3073, allocations: 43.59 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.3076, allocations: 95.83 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002704/0.3079, allocations: 247.3 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.308, allocations: 75.8 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.3082, allocations: 103.6 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.3084, allocations: 103.5 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.3084, allocations: 28 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.399e-05/0.3085, allocations: 31.98 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.3085, allocations: 51.84 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.3086, allocations: 111.3 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.3089, allocations: 290.8 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3089, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3089, allocations: 0 / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3089, allocations: 0 / 1.33 GB, free: 13.98 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.0008494/0.3098, allocations: 473.1 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.3098, allocations: 16.02 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/0.3101, allocations: 40.73 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.3104, allocations: 186.7 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.3105, allocations: 127.3 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.3105, allocations: 24.38 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.3109, allocations: 190.5 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3109, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.3109, allocations: 8 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3109, allocations: 4 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003988/0.3113, allocations: 155.8 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008212/0.3122, allocations: 0.542 MB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/0.3125, allocations: 138.8 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.3127, allocations: 78.69 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.3128, allocations: 7.984 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002878/0.3131, allocations: 140.8 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.422e-06/0.3131, allocations: 4 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0006635/0.3137, allocations: 267.3 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.3138, allocations: 63.34 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.314, allocations: 195.2 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.314, allocations: 29.64 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/0.3141, allocations: 140.6 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.32e-05/0.3141, allocations: 63.44 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.051e-05/0.3142, allocations: 41.7 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3143, allocations: 334.8 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.3145, allocations: 75.89 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.3148, allocations: 104.3 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.3151, allocations: 174.4 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3151, allocations: 4 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004776/0.3156, allocations: 237.4 kB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.3156, allocations: 8 kB / 1.333 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.3156, allocations: 0 / 1.333 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.3156, allocations: 0 / 1.333 GB, free: 9.953 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.3158, allocations: 39.97 kB / 1.333 GB, free: 9.914 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3158, allocations: 7.938 kB / 1.333 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.316, allocations: 31.88 kB / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.316, allocations: 11.94 kB / 1.333 GB, free: 9.863 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.0001152/0.3161, allocations: 133.8 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.3161, allocations: 23.84 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.3162, allocations: 21.81 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3162, allocations: 4 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.3162, allocations: 0 / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3162, allocations: 3.984 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.3165, allocations: 264.4 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3165, allocations: 0 / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.3167, allocations: 47.91 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3167, allocations: 4 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.3167, allocations: 3.984 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3167, allocations: 0 / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.3167, allocations: 0 / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006896/0.3174, allocations: 340.8 kB / 1.334 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.652e-05/0.3174, allocations: 23.8 kB / 1.334 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.3174, allocations: 0 / 1.334 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.3176, allocations: 15.98 kB / 1.334 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/0.3177, allocations: 27.89 kB / 1.334 GB, free: 8.891 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.3177, allocations: 8 kB / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001161/0.3178, allocations: 140.5 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3178, allocations: 4.062 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002281/0.318, allocations: 47.89 kB / 1.335 GB, free: 8.695 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.0001094/0.3181, allocations: 99.19 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004518/0.3186, allocations: 174.1 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3186, allocations: 0 / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.3188, allocations: 87.89 kB / 1.335 GB, free: 8.332 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.3191, allocations: 44.33 kB / 1.335 GB, free: 8.293 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007313/0.3198, allocations: 437.8 kB / 1.335 GB, free: 7.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.3201, allocations: 0.7322 MB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.123e-05/0.3202, allocations: 25.62 kB / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.752e-05/0.3203, allocations: 15.44 kB / 1.336 GB, free: 7.039 MB / 1.029 GB Notification: Performance of SimCode: time 2.61e-07/0.3203, allocations: 0 / 1.336 GB, free: 7.039 MB / 1.029 GB Notification: Performance of Templates: time 0.005665/0.3259, allocations: 2.463 MB / 1.339 GB, free: 4.609 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: 8.003544190898538]