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.001961/0.001961, allocations: 102.6 kB / 16.45 MB, free: 6.449 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.002432/0.002432, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.587/1.587, allocations: 230.5 MB / 252.8 MB, free: 9.145 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.498/3.498, allocations: 0.4899 GB / 0.7915 GB, free: 33.32 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.002117/0.002117, allocations: 69.2 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.4543, allocations: 176.1 MB / 1.321 GB, free: 2.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002375/0.4567, allocations: 0.6206 MB / 1.322 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000164/0.4569, allocations: 12 kB / 1.322 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.457, allocations: 3.938 kB / 1.322 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.4571, allocations: 0 / 1.322 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.789e-05/0.4571, allocations: 0 / 1.322 GB, free: 2.352 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.36e-05/0.4572, allocations: 15.92 kB / 1.322 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.4573, allocations: 19.92 kB / 1.322 GB, free: 2.316 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.4575, allocations: 31.98 kB / 1.322 GB, free: 2.285 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.822e-05/0.4575, allocations: 11.94 kB / 1.322 GB, free: 2.273 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.003e-05/0.4576, allocations: 23.91 kB / 1.322 GB, free: 2.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.4576, allocations: 4 kB / 1.322 GB, free: 2.246 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.636e-05/0.4576, allocations: 4 kB / 1.322 GB, free: 2.242 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.441e-05/0.4577, allocations: 11.94 kB / 1.322 GB, free: 2.23 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.512e-05/0.4577, allocations: 15.88 kB / 1.322 GB, free: 2.215 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.4578, allocations: 43.81 kB / 1.322 GB, free: 2.172 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4578, allocations: 0 / 1.322 GB, free: 2.172 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4578, allocations: 0 / 1.322 GB, free: 2.172 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.4578, allocations: 0 / 1.322 GB, free: 2.172 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.00071/0.4586, allocations: 359.2 kB / 1.322 GB, free: 1.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.4586, allocations: 15.98 kB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.4586, allocations: 8.875 kB / 1.322 GB, free: 1.746 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.4589, allocations: 180.3 kB / 1.323 GB, free: 1.531 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.459, allocations: 8.375 kB / 1.323 GB, free: 1.523 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.459, allocations: 384 / 1.323 GB, free: 1.523 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.4591, allocations: 74.23 kB / 1.323 GB, free: 1.445 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.4592, allocations: 192 / 1.323 GB, free: 1.445 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.4592, allocations: 7.938 kB / 1.323 GB, free: 1.438 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4592, allocations: 0 / 1.323 GB, free: 1.438 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.4593, allocations: 55.89 kB / 1.323 GB, free: 1.383 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007299/0.46, allocations: 483.2 kB / 1.323 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.4601, allocations: 169.5 kB / 1.323 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.4603, allocations: 80.14 kB / 1.323 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.61e-05/0.4603, allocations: 79.28 kB / 1.323 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.966e-05/0.4604, allocations: 113.8 kB / 1.324 GB, free: 412 kB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.4604, allocations: 4.109 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.000147/0.4606, allocations: 37.59 kB / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.174e-05/0.4606, allocations: 130.6 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.461, allocations: 173.7 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.461, allocations: 25.7 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.4611, allocations: 92.14 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.478e-06/0.4611, allocations: 4 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.4611, allocations: 13.7 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.4613, allocations: 318.8 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.4613, allocations: 7.984 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.403e-05/0.4614, allocations: 4 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.146e-05/0.4614, allocations: 20.84 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4614, allocations: 3.938 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001415/0.4615, allocations: 57.64 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.4616, allocations: 5.875 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.4616, allocations: 4 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4616, allocations: 0 / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.367e-05/0.4617, allocations: 3.984 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.4617, allocations: 3.938 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.284e-05/0.4617, allocations: 11.89 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.4617, allocations: 4 kB / 1.324 GB, free: 15.43 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.0003704/0.4621, allocations: 197.1 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.4623, allocations: 105 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.355e-05/0.4623, allocations: 112.8 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002129/0.4625, allocations: 180.2 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002375/0.4628, allocations: 188.2 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002029/0.463, allocations: 184.2 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/0.4635, allocations: 417.2 kB / 1.326 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.684e-05/0.4635, allocations: 108.9 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.4636, allocations: 101 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002206/0.4638, allocations: 184.2 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.874e-05/0.4639, allocations: 184.2 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001687/0.4641, allocations: 180.3 kB / 1.327 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-05/0.4642, allocations: 184.1 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.4644, allocations: 319.7 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.4645, allocations: 186 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.4647, allocations: 176.5 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.4648, allocations: 116.9 kB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.465, allocations: 192.2 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.655e-05/0.4651, allocations: 104.9 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001713/0.4652, allocations: 131.2 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4652, allocations: 0 / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002629/0.4655, allocations: 4 kB / 1.328 GB, free: 11.73 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.0002017/0.4657, allocations: 178.5 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.251e-05/0.4658, allocations: 7.984 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4658, allocations: 0 / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.754e-06/0.4658, allocations: 0 / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005645/0.4664, allocations: 461.4 kB / 1.328 GB, free: 11.08 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.4668, allocations: 208.2 kB / 1.329 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/0.4673, allocations: 0.6961 MB / 1.329 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001224/0.4674, allocations: 4 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.4674, allocations: 7.438 kB / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of SimCode: time 9.82e-07/0.4674, allocations: 0 / 1.329 GB, free: 10.12 MB / 1.029 GB Notification: Performance of Templates: time 0.003329/0.4708, allocations: 471.3 kB / 1.33 GB, free: 9.66 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/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: 9.543216651771218]