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.001335/0.001335, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001464/0.001464, allocations: 212.6 kB / 22.99 MB, free: 4.941 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 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.346/3.346, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.002128/0.002128, allocations: 68.08 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3494, allocations: 181.9 MB / 1.365 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001903/0.3513, allocations: 0.6139 MB / 1.365 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001628/0.3514, allocations: 4 kB / 1.365 GB, free: 13.01 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.3515, allocations: 0 / 1.365 GB, free: 13.01 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.3516, allocations: 7.938 kB / 1.365 GB, free: 13 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.635e-05/0.3516, allocations: 0 / 1.365 GB, free: 13 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.096e-05/0.3517, allocations: 15.92 kB / 1.365 GB, free: 12.99 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.436e-05/0.3518, allocations: 27.92 kB / 1.365 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.3519, allocations: 19.97 kB / 1.365 GB, free: 12.94 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.374e-05/0.352, allocations: 15.94 kB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.634e-05/0.352, allocations: 15.92 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.352, allocations: 4 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.352, allocations: 0 / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.167e-05/0.3521, allocations: 11.94 kB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.3521, allocations: 11.94 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.3522, allocations: 55.73 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3522, allocations: 4 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3522, allocations: 0 / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.3522, allocations: 0 / 1.365 GB, free: 12.82 MB / 1.061 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.0003797/0.3526, allocations: 274.6 kB / 1.366 GB, free: 12.52 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3526, allocations: 8.031 kB / 1.366 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.3527, allocations: 8.891 kB / 1.366 GB, free: 12.51 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.3529, allocations: 114.5 kB / 1.366 GB, free: 12.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3529, allocations: 8.375 kB / 1.366 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.3529, allocations: 4.375 kB / 1.366 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3531, allocations: 78.16 kB / 1.366 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3531, allocations: 192 / 1.366 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.3531, allocations: 11.94 kB / 1.366 GB, free: 12.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3531, allocations: 4 kB / 1.366 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.374e-05/0.3532, allocations: 47.97 kB / 1.366 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.3537, allocations: 422.8 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.953e-05/0.3538, allocations: 169.1 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.442e-05/0.3538, allocations: 80.14 kB / 1.367 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.3538, allocations: 79.22 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.025e-05/0.3539, allocations: 109.8 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3539, allocations: 0 / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7e-05/0.354, allocations: 25.7 kB / 1.367 GB, free: 11.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.263e-05/0.3541, allocations: 134.7 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.3542, allocations: 129.8 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.3542, allocations: 25.7 kB / 1.367 GB, free: 10.97 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.604e-05/0.3543, allocations: 96.14 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.3543, allocations: 0 / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.3543, allocations: 21.7 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3545, allocations: 314.8 kB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.006e-05/0.3545, allocations: 7.984 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.785e-05/0.3545, allocations: 15.94 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.565e-05/0.3545, allocations: 12.84 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3545, allocations: 8 kB / 1.368 GB, free: 10.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001157/0.3547, allocations: 49.64 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3547, allocations: 8 kB / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.3547, allocations: 0 / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3547, allocations: 0 / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.709e-05/0.3547, allocations: 3.984 kB / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3548, allocations: 4 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.032e-05/0.3548, allocations: 3.938 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.3548, allocations: 4 kB / 1.368 GB, free: 10.41 MB / 1.061 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.0001304/0.3549, allocations: 202.2 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.805e-05/0.355, allocations: 105 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.451e-05/0.355, allocations: 104.5 kB / 1.368 GB, free: 9.973 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-05/0.3551, allocations: 188.2 kB / 1.368 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.588e-05/0.3552, allocations: 180.2 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.788e-05/0.3553, allocations: 180.2 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.3555, allocations: 368.8 kB / 1.369 GB, free: 9.016 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.135e-05/0.3556, allocations: 104.9 kB / 1.369 GB, free: 8.906 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.066e-05/0.3556, allocations: 110 kB / 1.369 GB, free: 8.793 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.289e-05/0.3557, allocations: 184.2 kB / 1.369 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.54e-05/0.3558, allocations: 180.2 kB / 1.369 GB, free: 8.422 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.663e-05/0.3559, allocations: 180.6 kB / 1.37 GB, free: 8.238 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-05/0.3559, allocations: 184.3 kB / 1.37 GB, free: 8.051 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.3561, allocations: 311.7 kB / 1.37 GB, free: 7.723 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.3562, allocations: 112.9 kB / 1.37 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.16e-05/0.3562, allocations: 176.5 kB / 1.37 GB, free: 7.426 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-05/0.3563, allocations: 101 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.708e-05/0.3564, allocations: 192.2 kB / 1.371 GB, free: 7.125 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/0.3565, allocations: 109 kB / 1.371 GB, free: 7.012 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.067e-05/0.3565, allocations: 103.2 kB / 1.371 GB, free: 6.91 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3565, allocations: 0 / 1.371 GB, free: 6.91 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002221/0.3567, allocations: 7.938 kB / 1.371 GB, free: 6.902 MB / 1.061 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.0001406/0.3569, allocations: 174.5 kB / 1.371 GB, free: 6.723 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.872e-05/0.357, allocations: 19.92 kB / 1.371 GB, free: 6.703 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.357, allocations: 0 / 1.371 GB, free: 6.703 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.357, allocations: 0 / 1.371 GB, free: 6.703 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.3574, allocations: 459.7 kB / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.3577, allocations: 214 kB / 1.372 GB, free: 6.008 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.686e-05/0.3578, allocations: 71.33 kB / 1.372 GB, free: 5.918 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.3578, allocations: 15.5 kB / 1.372 GB, free: 5.902 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.3578, allocations: 0 / 1.372 GB, free: 5.902 MB / 1.061 GB Notification: Performance of Templates: time 0.002005/0.3598, allocations: 0.602 MB / 1.372 GB, free: 5.305 MB / 1.061 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/jenkins1/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: 11.136472188867629]