Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.001727/0.001727, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.00241/0.00241, allocations: 157.2 kB / 23.01 MB, free: 4.602 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.461/1.461, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.956/2.956, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [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.002546/0.002546, allocations: 63.91 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 181.8 MB / 1.187 GB, free: 16.16 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001723/1.011, allocations: 0.6204 MB / 1.187 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001498/1.011, allocations: 12.05 kB / 1.187 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/1.011, allocations: 0 / 1.187 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 8.854e-05/1.011, allocations: 1.125 kB / 1.187 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 2.808e-05/1.011, allocations: 1.375 kB / 1.187 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 6.937e-05/1.011, allocations: 2.078 kB / 1.187 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/1.011, allocations: 26.58 kB / 1.187 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/1.011, allocations: 24.66 kB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.327e-05/1.012, allocations: 18.59 kB / 1.187 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.498e-05/1.012, allocations: 16.39 kB / 1.187 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/1.012, allocations: 2.75 kB / 1.187 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/1.012, allocations: 6.75 kB / 1.187 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.18e-05/1.012, allocations: 16.12 kB / 1.187 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/1.012, allocations: 14.14 kB / 1.187 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/1.012, allocations: 52.64 kB / 1.187 GB, free: 15.69 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.012, allocations: 0 / 1.187 GB, free: 15.69 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.613e-06/1.012, allocations: 0 / 1.187 GB, free: 15.69 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.62e-06/1.012, allocations: 1.375 kB / 1.187 GB, free: 15.69 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002675/1.012, allocations: 271.2 kB / 1.188 GB, free: 15.41 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/1.012, allocations: 8.859 kB / 1.188 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/1.012, allocations: 7.641 kB / 1.188 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/1.012, allocations: 118.9 kB / 1.188 GB, free: 15.28 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/1.012, allocations: 7.922 kB / 1.188 GB, free: 15.28 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/1.012, allocations: 3.125 kB / 1.188 GB, free: 15.28 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/1.012, allocations: 74.84 kB / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/1.012, allocations: 192 / 1.188 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/1.012, allocations: 11.88 kB / 1.188 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/1.012, allocations: 1.375 kB / 1.188 GB, free: 15.22 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.318e-05/1.013, allocations: 53.11 kB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/1.013, allocations: 414.2 kB / 1.188 GB, free: 14.83 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.106e-05/1.013, allocations: 167.2 kB / 1.188 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.676e-05/1.013, allocations: 81.92 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/1.013, allocations: 79.28 kB / 1.189 GB, free: 14.5 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/1.013, allocations: 107.9 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/1.013, allocations: 0 / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 6.303e-05/1.013, allocations: 40.84 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/1.013, allocations: 127.8 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/1.013, allocations: 127.1 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5e-06/1.013, allocations: 25.7 kB / 1.189 GB, free: 14.06 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/1.013, allocations: 97.7 kB / 1.189 GB, free: 13.97 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/1.013, allocations: 0 / 1.189 GB, free: 13.97 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/1.013, allocations: 21.52 kB / 1.189 GB, free: 13.95 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.796e-05/1.013, allocations: 321.7 kB / 1.189 GB, free: 13.63 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/1.013, allocations: 5.188 kB / 1.189 GB, free: 13.63 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.401e-05/1.013, allocations: 11.28 kB / 1.189 GB, free: 13.62 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.427e-05/1.013, allocations: 12.56 kB / 1.189 GB, free: 13.62 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.013, allocations: 0 / 1.189 GB, free: 13.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001084/1.013, allocations: 56.38 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/1.014, allocations: 4.531 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/1.014, allocations: 1.5 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/1.014, allocations: 0 / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/1.014, allocations: 7.641 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/1.014, allocations: 1.672 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/1.014, allocations: 10.16 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/1.014, allocations: 2.516 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (mulMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.734e-05/1.014, allocations: 194.3 kB / 1.19 GB, free: 13.37 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/1.014, allocations: 104.6 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/1.014, allocations: 111.5 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-05/1.014, allocations: 182.1 kB / 1.19 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.623e-05/1.014, allocations: 182.3 kB / 1.19 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.393e-05/1.014, allocations: 182.2 kB / 1.19 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/1.014, allocations: 371.1 kB / 1.191 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/1.014, allocations: 106.8 kB / 1.191 GB, free: 12.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.582e-05/1.014, allocations: 107.2 kB / 1.191 GB, free: 11.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-05/1.014, allocations: 186.4 kB / 1.191 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.876e-05/1.014, allocations: 179 kB / 1.191 GB, free: 11.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-05/1.014, allocations: 178.6 kB / 1.192 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.481e-05/1.014, allocations: 181.8 kB / 1.192 GB, free: 11.26 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.941e-05/1.014, allocations: 316 kB / 1.192 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/1.014, allocations: 107.4 kB / 1.192 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/1.014, allocations: 183.1 kB / 1.192 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.989e-05/1.014, allocations: 108.2 kB / 1.192 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/1.014, allocations: 187 kB / 1.193 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/1.014, allocations: 106.7 kB / 1.193 GB, free: 10.24 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.312e-05/1.014, allocations: 94.14 kB / 1.193 GB, free: 10.16 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.014, allocations: 1.156 kB / 1.193 GB, free: 10.16 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002248/1.015, allocations: 12.72 kB / 1.193 GB, free: 10.15 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 8.836e-05/1.015, allocations: 171 kB / 1.193 GB, free: 9.992 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.417e-05/1.015, allocations: 12.62 kB / 1.193 GB, free: 9.988 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/1.015, allocations: 0 / 1.193 GB, free: 9.988 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/1.015, allocations: 64 / 1.193 GB, free: 9.988 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/1.015, allocations: 465.2 kB / 1.193 GB, free: 9.535 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/1.015, allocations: 188.9 kB / 1.194 GB, free: 9.352 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.779e-05/1.015, allocations: 76.16 kB / 1.194 GB, free: 9.273 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.891e-05/1.015, allocations: 4.031 kB / 1.194 GB, free: 9.273 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/1.015, allocations: 8.5 kB / 1.194 GB, free: 9.266 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/1.015, allocations: 0 / 1.194 GB, free: 9.266 MB / 1.076 GB Notification: Performance of Templates: time 0.002526/1.018, allocations: 311.7 kB / 1.194 GB, free: 9.191 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.945990709005855]