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.000826/0.000826, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007782/0.0007782, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.879/0.879, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.733/1.733, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/3.065e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001633/0.001664, allocations: 0.6103 MB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001323/0.001796, allocations: 19.81 kB / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.001843, allocations: 0 / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.04e-05/0.001923, allocations: 0 / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.229e-05/0.001956, allocations: 3.938 kB / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 5.977e-05/0.002015, allocations: 8 kB / 1.002 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.267e-05/0.002088, allocations: 27.91 kB / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.002194, allocations: 19.98 kB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.22e-05/0.002226, allocations: 19.98 kB / 1.002 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.731e-05/0.002254, allocations: 15.92 kB / 1.002 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.002276, allocations: 4 kB / 1.002 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-06/0.002286, allocations: 4 kB / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.631e-05/0.002312, allocations: 8 kB / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.002337, allocations: 19.91 kB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.302e-05/0.00242, allocations: 39.88 kB / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.002422, allocations: 4 kB / 1.002 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002422, allocations: 0 / 1.002 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.002426, allocations: 0 / 1.002 GB, free: 12.22 MB / 0.9636 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.0002433/0.002669, allocations: 270.2 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.002703, allocations: 13.34 kB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.351e-05/0.002727, allocations: 4.891 kB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.002862, allocations: 133.6 kB / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.002871, allocations: 4.375 kB / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.002882, allocations: 4.375 kB / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.002996, allocations: 74.22 kB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.003003, allocations: 4.188 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.003013, allocations: 8.375 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.003017, allocations: 384 / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.115e-05/0.003068, allocations: 51.84 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/0.003374, allocations: 414.9 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.919e-05/0.003434, allocations: 173.1 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/0.003455, allocations: 80.14 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.003472, allocations: 79.28 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.0035, allocations: 105.8 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 5.51e-07/0.0035, allocations: 0 / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 4.729e-05/0.003548, allocations: 29.69 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.003588, allocations: 130.7 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.638e-05/0.003674, allocations: 129.8 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.003683, allocations: 25.7 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/0.003723, allocations: 100 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.003725, allocations: 0 / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.003749, allocations: 21.66 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.003821, allocations: 326.8 kB / 1.004 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.17e-05/0.003833, allocations: 7.938 kB / 1.004 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-06/0.003842, allocations: 7.984 kB / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.537e-05/0.003867, allocations: 12.86 kB / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.003869, allocations: 3.984 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.327e-05/0.003952, allocations: 49.69 kB / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.003962, allocations: 10.28 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.003965, allocations: 0 / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.003974, allocations: 0 / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.535e-05/0.00402, allocations: 7.938 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.004023, allocations: 0 / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.247e-05/0.004036, allocations: 4 kB / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.004043, allocations: 0 / 1.004 GB, free: 9.805 MB / 0.9636 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 6.98e-05/0.004113, allocations: 201 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.004145, allocations: 101 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.004179, allocations: 113.2 kB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-05/0.00422, allocations: 184.2 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.225e-05/0.004262, allocations: 176.3 kB / 1.005 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.722e-05/0.004299, allocations: 188.2 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.004426, allocations: 372.8 kB / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-05/0.004448, allocations: 101 kB / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/0.004472, allocations: 113.1 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.92e-05/0.004511, allocations: 176.3 kB / 1.005 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/0.004553, allocations: 188.2 kB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.772e-05/0.004591, allocations: 180.3 kB / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.946e-05/0.00463, allocations: 184.2 kB / 1.006 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.367e-05/0.004714, allocations: 303.7 kB / 1.006 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.004744, allocations: 116.9 kB / 1.006 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.004787, allocations: 180.2 kB / 1.007 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.631e-05/0.004834, allocations: 112.9 kB / 1.007 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.004874, allocations: 176.3 kB / 1.007 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.004897, allocations: 105 kB / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.752e-05/0.004934, allocations: 99.56 kB / 1.007 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004934, allocations: 0 / 1.007 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001399/0.005074, allocations: 11.94 kB / 1.007 GB, free: 6.305 MB / 0.9636 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 7.851e-05/0.005153, allocations: 174.5 kB / 1.007 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.505e-05/0.005208, allocations: 12 kB / 1.007 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.005209, allocations: 3.938 kB / 1.007 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.00521, allocations: 0 / 1.007 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.005459, allocations: 469.9 kB / 1.008 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001921/0.005651, allocations: 229.7 kB / 1.008 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.319e-05/0.005695, allocations: 71.28 kB / 1.008 GB, free: 5.301 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.005715, allocations: 8.5 kB / 1.008 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of SimCode: time 3.71e-07/0.005716, allocations: 0 / 1.008 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of Templates: time 0.001228/0.006944, allocations: 0.624 MB / 1.009 GB, free: 4.676 MB / 0.9636 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 6.553929979912937]