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.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.001878/0.001878, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.002579/0.002579, allocations: 216.6 kB / 23.01 MB, free: 4.609 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.236/3.236, allocations: 0.49 GB / 0.7958 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_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: 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.002047/0.002047, allocations: 69.39 kB / 1.155 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3471, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001847/0.349, allocations: 0.6349 MB / 1.328 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001433/0.3491, allocations: 7.938 kB / 1.328 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.3492, allocations: 4 kB / 1.328 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.977e-05/0.3492, allocations: 0 / 1.328 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.962e-05/0.3493, allocations: 3.938 kB / 1.328 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.919e-05/0.3493, allocations: 0 / 1.328 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.3494, allocations: 27.97 kB / 1.328 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.3496, allocations: 23.92 kB / 1.328 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.427e-05/0.3496, allocations: 11.94 kB / 1.328 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.277e-05/0.3496, allocations: 15.92 kB / 1.328 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.3497, allocations: 0 / 1.328 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.3497, allocations: 8 kB / 1.328 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.888e-05/0.3497, allocations: 15.92 kB / 1.328 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.3498, allocations: 19.88 kB / 1.328 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.3499, allocations: 43.81 kB / 1.328 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.3499, allocations: 4 kB / 1.328 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3499, allocations: 0 / 1.328 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3499, allocations: 0 / 1.328 GB, free: 0.6562 MB / 1.014 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.0003583/0.3502, allocations: 278.5 kB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.3503, allocations: 12.03 kB / 1.328 GB, free: 348 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.3503, allocations: 4.938 kB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.3505, allocations: 122.5 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3505, allocations: 4.375 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.3506, allocations: 4.375 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.3507, allocations: 74.22 kB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.3507, allocations: 192 / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3507, allocations: 15.88 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3507, allocations: 0 / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.99e-05/0.3508, allocations: 43.97 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/0.3514, allocations: 466.2 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.414e-05/0.3515, allocations: 169.1 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.3515, allocations: 80.14 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.3515, allocations: 75.39 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.477e-05/0.3516, allocations: 117.8 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3516, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.775e-05/0.3517, allocations: 37.59 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.3518, allocations: 126.7 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.3519, allocations: 173.7 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.352, allocations: 25.7 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.352, allocations: 96.06 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-06/0.352, allocations: 4 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.3521, allocations: 13.72 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3522, allocations: 318.8 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.834e-05/0.3522, allocations: 7.984 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.3e-05/0.3522, allocations: 7.984 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.532e-05/0.3523, allocations: 12.86 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3523, allocations: 0 / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001263/0.3524, allocations: 61.56 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3524, allocations: 9.969 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3524, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3524, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.06e-05/0.3525, allocations: 4 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.3525, allocations: 3.938 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.702e-05/0.3525, allocations: 11.89 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.3525, allocations: 4 kB / 1.33 GB, free: 14.13 MB / 1.029 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.0001188/0.3526, allocations: 193.6 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.138e-05/0.3527, allocations: 113 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.543e-05/0.3528, allocations: 116.7 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.816e-05/0.3529, allocations: 176.3 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.519e-05/0.353, allocations: 184.1 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.957e-05/0.353, allocations: 180.3 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.3533, allocations: 388.3 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-05/0.3533, allocations: 108.9 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.3534, allocations: 109 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.982e-05/0.3535, allocations: 180.2 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.94e-05/0.3535, allocations: 180.3 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.936e-05/0.3536, allocations: 180.2 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.97e-05/0.3537, allocations: 192.2 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.3539, allocations: 315.7 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.3539, allocations: 112.9 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.354, allocations: 180.5 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.684e-05/0.3541, allocations: 109 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.124e-05/0.3542, allocations: 192.2 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.3543, allocations: 104.9 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000105/0.3544, allocations: 131.2 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3544, allocations: 0 / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002243/0.3546, allocations: 4 kB / 1.333 GB, free: 10.55 MB / 1.029 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.0001357/0.3547, allocations: 170.5 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.251e-05/0.3548, allocations: 15.98 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3548, allocations: 0 / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.3548, allocations: 0 / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.3552, allocations: 469.1 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.3555, allocations: 229.9 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.3558, allocations: 0.6962 MB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.3559, allocations: 7.438 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3559, allocations: 0 / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of Templates: time 0.00232/0.3582, allocations: 0.7389 MB / 1.336 GB, free: 8.168 MB / 1.029 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/jenkins1/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: 11.243952555989381]