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.001886/0.001886, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002075/0.002075, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.484 MB / 186.7 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 3.335/3.335, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.8774 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.233e-05/3.469e-05, allocations: 3.312 kB / 0.8774 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002013/0.002048, allocations: 0.6166 MB / 0.878 GB, free: 6.098 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001748/0.002222, allocations: 19.86 kB / 0.8781 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.636e-05/0.002269, allocations: 0 / 0.8781 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.995e-05/0.002359, allocations: 0 / 0.8781 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.664e-05/0.002385, allocations: 2.188 kB / 0.8781 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.025e-05/0.002456, allocations: 11.94 kB / 0.8781 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.17e-05/0.002547, allocations: 28.12 kB / 0.8781 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.002679, allocations: 20 kB / 0.8781 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.006e-05/0.002729, allocations: 18.66 kB / 0.8781 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.846e-05/0.002767, allocations: 19.92 kB / 0.8782 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.002787, allocations: 0 / 0.8782 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.603e-05/0.002803, allocations: 4 kB / 0.8782 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.473e-05/0.002838, allocations: 8 kB / 0.8782 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.002875, allocations: 19.55 kB / 0.8782 GB, free: 5.961 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.002994, allocations: 43.86 kB / 0.8782 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.002996, allocations: 0 / 0.8782 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.51e-07/0.002997, allocations: 0 / 0.8782 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.003001, allocations: 0 / 0.8782 GB, free: 5.918 MB / 0.8386 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.0004694/0.003471, allocations: 380.1 kB / 0.8786 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.003509, allocations: 8.031 kB / 0.8786 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.003555, allocations: 4.938 kB / 0.8786 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.00376, allocations: 132.4 kB / 0.8787 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.003773, allocations: 5.281 kB / 0.8787 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.003788, allocations: 8.375 kB / 0.8787 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.003936, allocations: 59.3 kB / 0.8788 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.003944, allocations: 192 / 0.8788 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.003953, allocations: 4.312 kB / 0.8788 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.00396, allocations: 5.5 kB / 0.8788 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.682e-05/0.004047, allocations: 39.84 kB / 0.8788 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006192/0.004666, allocations: 0.541 MB / 0.8794 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.004845, allocations: 262.5 kB / 0.8796 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.49e-05/0.00493, allocations: 139.5 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.94e-05/0.005009, allocations: 119.2 kB / 0.8799 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.088e-05/0.0051, allocations: 157.6 kB / 0.88 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.005101, allocations: 0 / 0.88 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.406e-05/0.005185, allocations: 29.66 kB / 0.88 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.00531, allocations: 179.2 kB / 0.8802 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.005501, allocations: 186.8 kB / 0.8804 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.005518, allocations: 25.7 kB / 0.8804 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.005623, allocations: 151.9 kB / 0.8806 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.005625, allocations: 0 / 0.8806 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.005677, allocations: 27.38 kB / 0.8806 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002992/0.005976, allocations: 0.497 MB / 0.8811 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.874e-05/0.005995, allocations: 7.938 kB / 0.8811 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.939e-05/0.006014, allocations: 13.08 kB / 0.8811 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.86e-05/0.006053, allocations: 11.69 kB / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.006055, allocations: 0 / 0.8811 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001381/0.006193, allocations: 50.33 kB / 0.8812 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.006206, allocations: 4.906 kB / 0.8812 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.00621, allocations: 0 / 0.8812 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.006222, allocations: 0.8125 kB / 0.8812 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.589e-05/0.006278, allocations: 4 kB / 0.8812 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.006285, allocations: 7.594 kB / 0.8812 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.251e-05/0.006308, allocations: 7.938 kB / 0.8812 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.006317, allocations: 0 / 0.8812 GB, free: 2.691 MB / 0.8386 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 0.0001892/0.006506, allocations: 287.7 kB / 0.8815 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.006613, allocations: 152.8 kB / 0.8816 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.006714, allocations: 148.4 kB / 0.8817 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000177/0.006891, allocations: 280.1 kB / 0.882 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001435/0.007034, allocations: 268.1 kB / 0.8823 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001445/0.007179, allocations: 268 kB / 0.8825 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.007532, allocations: 0.5043 MB / 0.883 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.899e-05/0.007611, allocations: 148.9 kB / 0.8832 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.094e-05/0.007692, allocations: 153.4 kB / 0.8833 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001554/0.007847, allocations: 268.8 kB / 0.8836 GB, free: 152 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/0.008007, allocations: 272 kB / 0.8838 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001393/0.008146, allocations: 269 kB / 0.8841 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001423/0.008289, allocations: 268 kB / 0.8843 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.008568, allocations: 452 kB / 0.8848 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.12e-05/0.008659, allocations: 154.3 kB / 0.8849 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.00883, allocations: 268.1 kB / 0.8852 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.008956, allocations: 148.8 kB / 0.8853 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.009116, allocations: 272.1 kB / 0.8856 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.328e-05/0.009199, allocations: 149 kB / 0.8857 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001107/0.00931, allocations: 143.2 kB / 0.8858 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.00931, allocations: 0 / 0.8858 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002254/0.009535, allocations: 11.89 kB / 0.8859 GB, free: 13.71 MB / 0.8542 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 0.0002208/0.009756, allocations: 218.4 kB / 0.8861 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.634e-05/0.009842, allocations: 19.67 kB / 0.8861 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.009844, allocations: 0 / 0.8861 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.009846, allocations: 0 / 0.8861 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008057/0.01065, allocations: 0.7061 MB / 0.8868 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.01102, allocations: 249.5 kB / 0.887 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.599e-05/0.01111, allocations: 71.19 kB / 0.8871 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.676e-05/0.01113, allocations: 0 / 0.8871 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.01116, allocations: 12.5 kB / 0.8871 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of SimCode: time 7.81e-07/0.01116, allocations: 0 / 0.8871 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of Templates: time 0.002927/0.01408, allocations: 333.1 kB / 0.8874 GB, free: 12.07 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 240] 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: 8.457824057084508]