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.001398/0.001398, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001596/0.001596, allocations: 211.8 kB / 22.99 MB, free: 4.957 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.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.208/3.208, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.002028/0.002028, allocations: 71.92 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3601, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.LoadAverage): time 0.002804/0.3629, allocations: 1.074 MB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.3646, allocations: 1.077 MB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.3647, allocations: 4 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.754e-05/0.3648, allocations: 19.73 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.365, allocations: 47.56 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.3653, allocations: 99.84 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003608/0.3657, allocations: 243.3 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002264/0.3659, allocations: 71.81 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.3662, allocations: 107.6 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.3663, allocations: 107.5 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.3664, allocations: 24 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.618e-05/0.3664, allocations: 28 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.062e-05/0.3665, allocations: 55.78 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.852e-05/0.3666, allocations: 87.56 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.367, allocations: 294.8 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.367, allocations: 3.938 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.043e-06/0.367, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.964e-06/0.367, allocations: 3.938 kB / 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.001016/0.368, allocations: 473.1 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3681, allocations: 8.031 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002674/0.3683, allocations: 52.73 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.3687, allocations: 182.7 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.3688, allocations: 123.3 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.3688, allocations: 20.38 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004494/0.3693, allocations: 190.5 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.3693, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.3693, allocations: 12 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.3693, allocations: 8 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005065/0.3699, allocations: 151.8 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00085/0.3707, allocations: 463.8 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.3712, allocations: 138.8 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.3714, allocations: 77.12 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.3714, allocations: 7.906 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003754/0.3718, allocations: 139.3 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.573e-06/0.3718, allocations: 0 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.0007612/0.3725, allocations: 280.3 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.3726, allocations: 59.39 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.3728, allocations: 170.8 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.3728, allocations: 29.7 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.3729, allocations: 136.5 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.1e-05/0.373, allocations: 63.48 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.3731, allocations: 45.7 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3732, allocations: 330.8 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.3735, allocations: 79.89 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.3737, allocations: 102.5 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.3742, allocations: 182.4 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3742, allocations: 0 / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005214/0.3747, allocations: 221.5 kB / 1.334 GB, free: 9.781 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3747, allocations: 8 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3747, allocations: 0 / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3748, allocations: 0 / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.375, allocations: 47.91 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.375, allocations: 7.938 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.3751, allocations: 31.86 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.3752, allocations: 8 kB / 1.334 GB, free: 9.68 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.0001369/0.3753, allocations: 137.8 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.3753, allocations: 15.91 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.721e-05/0.3754, allocations: 21.8 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.3754, allocations: 4 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3754, allocations: 7.875 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.3754, allocations: 0 / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.3756, allocations: 205 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3756, allocations: 0 / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.3759, allocations: 43.97 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3759, allocations: 0 / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.3759, allocations: 4 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3759, allocations: 0 / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3759, allocations: 0 / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007498/0.3767, allocations: 341.8 kB / 1.335 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.3767, allocations: 15.94 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.3767, allocations: 0 / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.3769, allocations: 19.97 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.978e-05/0.3769, allocations: 19.97 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.3769, allocations: 4 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001152/0.3771, allocations: 136.3 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3771, allocations: 0 / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002642/0.3773, allocations: 51.84 kB / 1.335 GB, free: 8.609 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.0001594/0.3775, allocations: 117 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004905/0.378, allocations: 169.2 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.378, allocations: 0 / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.3782, allocations: 91.88 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.3785, allocations: 36.11 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008845/0.3794, allocations: 429.1 kB / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.3796, allocations: 133.3 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.707e-05/0.3797, allocations: 17.95 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.787e-05/0.3797, allocations: 15.44 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3797, allocations: 8 kB / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of Templates: time 0.006365/0.3861, allocations: 2.614 MB / 1.338 GB, free: 5.008 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 -s cvode -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: 9.177917862005415]