Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.001455/0.001455, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001754/0.001754, allocations: 213.3 kB / 22.24 MB, free: 5.258 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.661/1.661, allocations: 230.6 MB / 256 MB, free: 7.785 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.545/3.545, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") [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.002139/0.002139, allocations: 70.28 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4495, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002137/0.4516, allocations: 0.6941 MB / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.4528, allocations: 0.8549 MB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.567e-05/0.4528, allocations: 0 / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.494e-05/0.4529, allocations: 7.922 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.886e-05/0.4529, allocations: 7.875 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.4531, allocations: 19.92 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.4532, allocations: 51.84 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.4533, allocations: 15.97 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.769e-05/0.4534, allocations: 23.92 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.067e-05/0.4535, allocations: 27.91 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.4535, allocations: 4 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.45e-05/0.4535, allocations: 4 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.4536, allocations: 7.984 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.4536, allocations: 19.86 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.4537, allocations: 43.81 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.4537, allocations: 0 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4537, allocations: 0 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.4537, allocations: 4 kB / 1.366 GB, free: 11.8 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006242/0.4543, allocations: 278.3 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.4544, allocations: 8.031 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.4544, allocations: 8.891 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.4546, allocations: 126.4 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.4546, allocations: 384 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.4546, allocations: 4.375 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.4549, allocations: 69.58 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4549, allocations: 0 / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.4549, allocations: 0 / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.4549, allocations: 4 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.4551, allocations: 51.95 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.4556, allocations: 236.4 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.4558, allocations: 58.55 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.4559, allocations: 28.91 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.4559, allocations: 0 / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.456, allocations: 34.56 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.456, allocations: 3.938 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004489/0.4564, allocations: 113.6 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.4565, allocations: 55.39 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.4566, allocations: 101.9 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.4566, allocations: 25.7 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.4567, allocations: 96.08 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.4567, allocations: 15.95 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.4567, allocations: 13.72 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.4569, allocations: 326.8 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.457, allocations: 23.98 kB / 1.367 GB, free: 9.988 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.416e-05/0.4571, allocations: 23.97 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.4573, allocations: 52.75 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4573, allocations: 3.938 kB / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002397/0.4575, allocations: 89.59 kB / 1.367 GB, free: 9.812 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.4576, allocations: 12 kB / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4576, allocations: 0 / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.4576, allocations: 0 / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.4577, allocations: 11.98 kB / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.4577, allocations: 0 / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.329e-05/0.4578, allocations: 7.984 kB / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.4578, allocations: 4 kB / 1.367 GB, free: 9.777 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: 2 (reaToInt.y,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.000103/0.4579, allocations: 115.2 kB / 1.368 GB, free: 9.656 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.4579, allocations: 4 kB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.458, allocations: 11.98 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.458, allocations: 4 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.458, allocations: 7.938 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.458, allocations: 3.984 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.4581, allocations: 121.2 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4581, allocations: 0 / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.465e-05/0.4582, allocations: 11.98 kB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4582, allocations: 0 / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.4582, allocations: 0 / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4582, allocations: 0 / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.4582, allocations: 3.938 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.4585, allocations: 187.4 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.4586, allocations: 7.953 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.4586, allocations: 0 / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.4587, allocations: 11.98 kB / 1.368 GB, free: 9.23 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.4587, allocations: 7.984 kB / 1.368 GB, free: 9.223 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.4587, allocations: 4 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.479e-05/0.4588, allocations: 91.2 kB / 1.368 GB, free: 9.129 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4588, allocations: 0 / 1.368 GB, free: 9.129 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002247/0.459, allocations: 8 kB / 1.368 GB, free: 9.121 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: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001189/0.4591, allocations: 99.25 kB / 1.368 GB, free: 9.016 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002662/0.4594, allocations: 51.94 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4594, allocations: 0 / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.4595, allocations: 35.97 kB / 1.368 GB, free: 8.93 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.4598, allocations: 3.938 kB / 1.368 GB, free: 8.926 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003814/0.4602, allocations: 137.6 kB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.061e-05/0.4603, allocations: 67.33 kB / 1.368 GB, free: 8.68 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.313e-05/0.4603, allocations: 4 kB / 1.368 GB, free: 8.676 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.4604, allocations: 11.44 kB / 1.368 GB, free: 8.664 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.4604, allocations: 3.938 kB / 1.368 GB, free: 8.66 MB / 1.061 GB Notification: Performance of Templates: time 0.004619/0.465, allocations: 0.957 MB / 1.369 GB, free: 7.723 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.970467399805784]