Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 194.8 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.801/2.801, allocations: 476.7 MB / 0.7645 GB, free: 10.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 71.91 kB / 1.109 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002521/1.006, allocations: 0.6187 MB / 1.275 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001942/1.007, allocations: 15.98 kB / 1.275 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/1.007, allocations: 0 / 1.275 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/1.007, allocations: 3.938 kB / 1.275 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.15e-05/1.007, allocations: 3.938 kB / 1.275 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.303e-05/1.007, allocations: 8 kB / 1.275 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/1.007, allocations: 27.91 kB / 1.275 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/1.007, allocations: 12 kB / 1.275 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.377e-05/1.007, allocations: 19.92 kB / 1.275 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.643e-05/1.007, allocations: 11.94 kB / 1.275 GB, free: 3.832 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/1.007, allocations: 4 kB / 1.275 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.292e-05/1.007, allocations: 4 kB / 1.275 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.047e-05/1.007, allocations: 11.98 kB / 1.275 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.671e-05/1.007, allocations: 19.86 kB / 1.275 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/1.008, allocations: 51.61 kB / 1.275 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/1.008, allocations: 0 / 1.275 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.484e-06/1.008, allocations: 0 / 1.275 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.008, allocations: 0 / 1.275 GB, free: 3.746 MB / 0.9669 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.0004851/1.008, allocations: 354.2 kB / 1.275 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.008, allocations: 8.031 kB / 1.275 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.76e-05/1.008, allocations: 8.891 kB / 1.275 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/1.008, allocations: 188.2 kB / 1.275 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/1.008, allocations: 4.312 kB / 1.275 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/1.009, allocations: 8.375 kB / 1.275 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/1.009, allocations: 70.23 kB / 1.275 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/1.009, allocations: 3.938 kB / 1.275 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/1.009, allocations: 4 kB / 1.275 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/1.009, allocations: 3.938 kB / 1.275 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/1.009, allocations: 47.97 kB / 1.275 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006102/1.009, allocations: 491.1 kB / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/1.01, allocations: 177.1 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.318e-05/1.01, allocations: 80.14 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/1.01, allocations: 75.28 kB / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.954e-05/1.01, allocations: 109.8 kB / 1.276 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/1.01, allocations: 0 / 1.276 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 9.612e-05/1.01, allocations: 33.69 kB / 1.276 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.31e-05/1.01, allocations: 130.7 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/1.01, allocations: 172.1 kB / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/1.01, allocations: 25.7 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.535e-05/1.01, allocations: 100 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/1.01, allocations: 0 / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/1.01, allocations: 21.81 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002119/1.01, allocations: 322.8 kB / 1.277 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.24e-05/1.011, allocations: 7.984 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.799e-05/1.011, allocations: 8 kB / 1.277 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.536e-05/1.011, allocations: 12.84 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.011, allocations: 0 / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002372/1.011, allocations: 49.69 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.011, allocations: 4 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.011, allocations: 4.094 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/1.011, allocations: 0 / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.604e-05/1.011, allocations: 15.86 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/1.011, allocations: 0 / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.571e-05/1.011, allocations: 11.89 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/1.011, allocations: 0 / 1.277 GB, free: 1.023 MB / 0.9669 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.0002185/1.011, allocations: 197.1 kB / 1.277 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/1.011, allocations: 112.9 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.777e-05/1.011, allocations: 112.9 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001107/1.012, allocations: 188.1 kB / 1.278 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002172/1.012, allocations: 180.2 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001259/1.012, allocations: 180.2 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/1.012, allocations: 417.2 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.997e-05/1.012, allocations: 110.5 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.457e-05/1.012, allocations: 108.9 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001225/1.013, allocations: 176.3 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/1.013, allocations: 184.2 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001452/1.013, allocations: 184.2 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00012/1.013, allocations: 184.2 kB / 1.279 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/1.013, allocations: 299.8 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/1.013, allocations: 205.9 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/1.014, allocations: 176.3 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/1.014, allocations: 112.9 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/1.014, allocations: 184.2 kB / 1.28 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.091e-05/1.014, allocations: 101.3 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000138/1.014, allocations: 127.2 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.014, allocations: 0 / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002996/1.014, allocations: 8 kB / 1.281 GB, free: 13.33 MB / 0.9825 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.0002114/1.015, allocations: 179 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.732e-05/1.015, allocations: 19.94 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.015, allocations: 0 / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.275e-06/1.015, allocations: 0 / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/1.015, allocations: 461.2 kB / 1.281 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004423/1.016, allocations: 224.1 kB / 1.281 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/1.016, allocations: 0.6924 MB / 1.282 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.033e-05/1.016, allocations: 4 kB / 1.282 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/1.016, allocations: 7.438 kB / 1.282 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/1.016, allocations: 3.938 kB / 1.282 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of Templates: time 0.003373/1.02, allocations: 469.3 kB / 1.283 GB, free: 11.23 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.023441582918167]