Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001243/0.001243, allocations: 110 kB / 18.93 MB, free: 2.945 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.001372/0.001372, allocations: 190.4 kB / 22.23 MB, free: 5.156 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.301/1.301, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.86/2.86, allocations: 496 MB / 0.7835 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 65.61 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3409, allocations: 173.6 MB / 1.307 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001793/0.3427, allocations: 0.6249 MB / 1.308 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001234/0.3428, allocations: 7.984 kB / 1.308 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.3429, allocations: 4 kB / 1.308 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.847e-05/0.343, allocations: 7.922 kB / 1.308 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.326e-05/0.343, allocations: 0 / 1.308 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.805e-05/0.3431, allocations: 0 / 1.308 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.285e-05/0.3431, allocations: 31.86 kB / 1.308 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3433, allocations: 19.92 kB / 1.308 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.035e-05/0.3433, allocations: 8 kB / 1.308 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.152e-05/0.3433, allocations: 23.86 kB / 1.308 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.3433, allocations: 4 kB / 1.308 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.3433, allocations: 4 kB / 1.308 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.642e-05/0.3434, allocations: 8 kB / 1.308 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.53e-05/0.3434, allocations: 23.86 kB / 1.308 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.622e-05/0.3435, allocations: 39.81 kB / 1.308 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3435, allocations: 4 kB / 1.308 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3435, allocations: 0 / 1.308 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.3435, allocations: 4 kB / 1.308 GB, free: 1.027 MB / 0.9981 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.0003404/0.3439, allocations: 266.6 kB / 1.308 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3439, allocations: 16.03 kB / 1.308 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.3439, allocations: 8.891 kB / 1.308 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.3441, allocations: 122.5 kB / 1.308 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3441, allocations: 8.312 kB / 1.308 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.3441, allocations: 4.375 kB / 1.308 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.3443, allocations: 74.17 kB / 1.309 GB, free: 488 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3443, allocations: 192 / 1.309 GB, free: 488 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.3443, allocations: 11.92 kB / 1.309 GB, free: 476 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3443, allocations: 0 / 1.309 GB, free: 476 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.636e-05/0.3444, allocations: 47.97 kB / 1.309 GB, free: 428 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006004/0.345, allocations: 470.2 kB / 1.309 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.521e-05/0.3451, allocations: 169.1 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.3452, allocations: 84.08 kB / 1.309 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.3452, allocations: 75.28 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.589e-05/0.3453, allocations: 109.8 kB / 1.309 GB, free: 15.46 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3453, allocations: 0 / 1.309 GB, free: 15.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.7e-05/0.3454, allocations: 33.7 kB / 1.309 GB, free: 15.42 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/0.3455, allocations: 126.7 kB / 1.31 GB, free: 15.28 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.3457, allocations: 174.7 kB / 1.31 GB, free: 15.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.3457, allocations: 25.7 kB / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.3457, allocations: 92.09 kB / 1.31 GB, free: 14.98 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.3457, allocations: 4 kB / 1.31 GB, free: 14.97 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.3458, allocations: 17.72 kB / 1.31 GB, free: 14.95 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3459, allocations: 318.8 kB / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.3459, allocations: 11.94 kB / 1.31 GB, free: 14.62 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.413e-05/0.346, allocations: 7.984 kB / 1.31 GB, free: 14.61 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.564e-05/0.346, allocations: 20.84 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.346, allocations: 0 / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001108/0.3461, allocations: 57.7 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3461, allocations: 6.188 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.3461, allocations: 0 / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.3461, allocations: 112 / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.668e-05/0.3462, allocations: 7.938 kB / 1.31 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3462, allocations: 3.938 kB / 1.31 GB, free: 14.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.3462, allocations: 7.938 kB / 1.31 GB, free: 14.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.3462, allocations: 0 / 1.31 GB, free: 14.5 MB / 1.014 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.0001185/0.3463, allocations: 205 kB / 1.311 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.3464, allocations: 112.9 kB / 1.311 GB, free: 14.17 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.734e-05/0.3465, allocations: 112.8 kB / 1.311 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.153e-05/0.3466, allocations: 184.2 kB / 1.311 GB, free: 13.87 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.123e-05/0.3466, allocations: 180.2 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.936e-05/0.3467, allocations: 184.2 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.347, allocations: 396.3 kB / 1.312 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.016e-05/0.347, allocations: 101 kB / 1.312 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.3471, allocations: 104.9 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.851e-05/0.3471, allocations: 184.2 kB / 1.312 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.287e-05/0.3472, allocations: 184.2 kB / 1.312 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.012e-05/0.3473, allocations: 176.3 kB / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-05/0.3474, allocations: 192.2 kB / 1.313 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.3476, allocations: 307.7 kB / 1.313 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-05/0.3476, allocations: 112.9 kB / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.125e-05/0.3477, allocations: 180.5 kB / 1.313 GB, free: 11.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.078e-05/0.3478, allocations: 105 kB / 1.313 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.794e-05/0.3479, allocations: 196.2 kB / 1.313 GB, free: 11.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.489e-05/0.348, allocations: 101 kB / 1.314 GB, free: 11.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001055/0.3481, allocations: 127.2 kB / 1.314 GB, free: 10.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3481, allocations: 0 / 1.314 GB, free: 10.93 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002304/0.3483, allocations: 4 kB / 1.314 GB, free: 10.93 MB / 1.014 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.0002076/0.3485, allocations: 179.3 kB / 1.314 GB, free: 10.74 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.828e-05/0.3486, allocations: 11.92 kB / 1.314 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3486, allocations: 4 kB / 1.314 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.3486, allocations: 0 / 1.314 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.349, allocations: 459.6 kB / 1.314 GB, free: 10.27 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.3493, allocations: 216.1 kB / 1.314 GB, free: 10.04 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.3496, allocations: 0.6846 MB / 1.315 GB, free: 9.324 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.325e-05/0.3496, allocations: 7.984 kB / 1.315 GB, free: 9.316 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.3497, allocations: 7.438 kB / 1.315 GB, free: 9.309 MB / 1.014 GB Notification: Performance of SimCode: time 4e-07/0.3497, allocations: 0 / 1.315 GB, free: 9.309 MB / 1.014 GB Notification: Performance of Templates: time 0.002676/0.3523, allocations: 492.3 kB / 1.316 GB, free: 8.84 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.004090121947229]