Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.001588/0.001588, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001676/0.001676, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.608/1.608, allocations: 230.6 MB / 256 MB, free: 7.789 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.561/3.561, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [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.002113/0.002113, allocations: 70.67 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.4471, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002221/0.4493, allocations: 0.764 MB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.4505, allocations: 0.8822 MB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.894e-05/0.4506, allocations: 7.938 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.635e-05/0.4506, allocations: 7.922 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.401e-05/0.4507, allocations: 7.875 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.4509, allocations: 47.88 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.451, allocations: 83.83 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.4512, allocations: 15.98 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.4513, allocations: 39.84 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.562e-05/0.4514, allocations: 47.77 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.4514, allocations: 8 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.022e-05/0.4514, allocations: 12 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.4515, allocations: 19.97 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/0.4515, allocations: 31.8 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.4516, allocations: 87.66 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4517, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4517, allocations: 0 / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.4517, allocations: 0 / 1.366 GB, free: 11.48 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006457/0.4523, allocations: 318 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.4523, allocations: 12.03 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.4524, allocations: 16.89 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.4525, allocations: 122.4 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.4526, allocations: 8.375 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.4526, allocations: 4.375 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.4529, allocations: 105.5 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4529, allocations: 4 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.4529, allocations: 4 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.4529, allocations: 0 / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003638/0.4533, allocations: 99.84 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/0.4538, allocations: 268.3 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006247/0.4544, allocations: 114.6 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.4546, allocations: 52.81 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.4547, allocations: 4 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.4547, allocations: 34.5 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.4547, allocations: 0 / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0006982/0.4554, allocations: 185.5 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.4554, allocations: 51.41 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.4555, allocations: 133.8 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.4556, allocations: 25.7 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.4556, allocations: 92.09 kB / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.4557, allocations: 27.78 kB / 1.367 GB, free: 9.688 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.4557, allocations: 21.7 kB / 1.367 GB, free: 9.66 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4558, allocations: 322.8 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.456, allocations: 43.95 kB / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.4562, allocations: 55.83 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.4565, allocations: 96.77 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4565, allocations: 4 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004212/0.457, allocations: 134 kB / 1.368 GB, free: 9 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.457, allocations: 12 kB / 1.368 GB, free: 8.988 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.457, allocations: 3.984 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.457, allocations: 0 / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.4572, allocations: 23.97 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.4572, allocations: 4.062 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.4573, allocations: 11.98 kB / 1.368 GB, free: 8.945 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.4573, allocations: 7.875 kB / 1.368 GB, free: 8.938 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: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001016/0.4574, allocations: 113.8 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.4574, allocations: 15.89 kB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004841/0.4579, allocations: 149.9 kB / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4579, allocations: 0 / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4579, allocations: 0 / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4579, allocations: 0 / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.4581, allocations: 141.2 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4581, allocations: 0 / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.4583, allocations: 35.91 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4583, allocations: 0 / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.4583, allocations: 4 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.4583, allocations: 7.984 kB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4583, allocations: 0 / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/0.4588, allocations: 227.4 kB / 1.369 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.4588, allocations: 15.94 kB / 1.369 GB, free: 8.176 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.4588, allocations: 4 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.459, allocations: 11.98 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-05/0.4591, allocations: 23.95 kB / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.4591, allocations: 4 kB / 1.369 GB, free: 8.133 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.051e-05/0.4591, allocations: 91.27 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4591, allocations: 4 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002312/0.4594, allocations: 16 kB / 1.369 GB, free: 8.023 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001327/0.4595, allocations: 111.1 kB / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004277/0.4599, allocations: 95.91 kB / 1.369 GB, free: 7.812 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4599, allocations: 0 / 1.369 GB, free: 7.812 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.4601, allocations: 67.88 kB / 1.369 GB, free: 7.746 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.4605, allocations: 8 kB / 1.369 GB, free: 7.738 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005505/0.4611, allocations: 174.3 kB / 1.369 GB, free: 7.539 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.4612, allocations: 79.27 kB / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.097e-05/0.4612, allocations: 12 kB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.518e-05/0.4613, allocations: 23.42 kB / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.4613, allocations: 0 / 1.37 GB, free: 7.406 MB / 1.061 GB Notification: Performance of Templates: time 0.005628/0.4669, allocations: 1.731 MB / 1.371 GB, free: 5.703 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.846024611964822]