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.0007889/0.0007889, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001847, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007434/0.0007434, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.00176, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9241/0.9241, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09406/1.018, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.408/2.408, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2421/2.65, allocations: 146 MB / 0.8176 GB, free: 3.82 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.75e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001436/0.001454, allocations: 0.7642 MB / 0.8197 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007817/0.002235, allocations: 0.8819 MB / 0.8205 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.137e-05/0.002267, allocations: 0 / 0.8205 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.002297, allocations: 3.938 kB / 0.8206 GB, free: 0.8164 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.436e-05/0.002342, allocations: 7.875 kB / 0.8206 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.019e-05/0.002422, allocations: 27.92 kB / 0.8206 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.306e-05/0.002505, allocations: 43.89 kB / 0.8206 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.659e-05/0.002592, allocations: 8 kB / 0.8206 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.002706, allocations: 39.89 kB / 0.8207 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.934e-05/0.002775, allocations: 15.98 kB / 0.8207 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.002801, allocations: 7.938 kB / 0.8207 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.002813, allocations: 4 kB / 0.8207 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.002833, allocations: 8 kB / 0.8207 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.16e-05/0.002854, allocations: 7.938 kB / 0.8207 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.628e-05/0.00295, allocations: 35.84 kB / 0.8207 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.289e-05/0.002963, allocations: 4 kB / 0.8208 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.91e-07/0.002964, allocations: 0 / 0.8208 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.002978, allocations: 0 / 0.8208 GB, free: 0.6094 MB / 0.7917 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.0004402/0.003418, allocations: 260.5 kB / 0.821 GB, free: 340 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.003454, allocations: 8.031 kB / 0.821 GB, free: 332 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.003483, allocations: 4.938 kB / 0.821 GB, free: 328 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.958e-05/0.003562, allocations: 117.7 kB / 0.8211 GB, free: 184 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.003578, allocations: 4.375 kB / 0.8211 GB, free: 180 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-06/0.003587, allocations: 4.312 kB / 0.8211 GB, free: 176 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.003709, allocations: 70.91 kB / 0.8212 GB, free: 96 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.003719, allocations: 11.88 kB / 0.8212 GB, free: 84 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.003728, allocations: 4 kB / 0.8212 GB, free: 80 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.003735, allocations: 3.984 kB / 0.8212 GB, free: 76 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.669e-05/0.003772, allocations: 8 kB / 0.8212 GB, free: 68 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.00407, allocations: 164.4 kB / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.008e-05/0.00416, allocations: 38.55 kB / 0.8214 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.004191, allocations: 16.8 kB / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.004209, allocations: 11.92 kB / 0.8214 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.004232, allocations: 34.56 kB / 0.8215 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.004233, allocations: 0 / 0.8215 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001452/0.004378, allocations: 45.69 kB / 0.8215 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.004415, allocations: 51.41 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.306e-05/0.004488, allocations: 110.7 kB / 0.8217 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.004501, allocations: 29.7 kB / 0.8217 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.004546, allocations: 88.09 kB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.004567, allocations: 11.92 kB / 0.8218 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.004602, allocations: 13.72 kB / 0.8218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.962e-05/0.004691, allocations: 314.8 kB / 0.8221 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.31e-05/0.004714, allocations: 19.92 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.004729, allocations: 4 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.489e-05/0.004774, allocations: 20.83 kB / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.004778, allocations: 4 kB / 0.8222 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.215e-05/0.00485, allocations: 45.62 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.004864, allocations: 8 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.004868, allocations: 0 / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.004881, allocations: 0 / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.504e-05/0.004966, allocations: 11.98 kB / 0.8222 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.004968, allocations: 3.938 kB / 0.8222 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.22e-05/0.005, allocations: 11.98 kB / 0.8222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.005005, allocations: 0 / 0.8222 GB, free: 14.93 MB / 0.8073 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 5.518e-05/0.00506, allocations: 105.8 kB / 0.8223 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.005082, allocations: 15.88 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.005108, allocations: 4 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.00511, allocations: 0 / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.005112, allocations: 3.984 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.005115, allocations: 4 kB / 0.8224 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.005235, allocations: 77.78 kB / 0.8224 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.005237, allocations: 3.984 kB / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.00528, allocations: 16 kB / 0.8225 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.005288, allocations: 3.984 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.005291, allocations: 3.938 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.005297, allocations: 4 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.005298, allocations: 0 / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.005299, allocations: 336 / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.957e-05/0.005399, allocations: 139.5 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.005411, allocations: 7.938 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.409e-05/0.005475, allocations: 3.984 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.543e-05/0.00552, allocations: 11.98 kB / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.005524, allocations: 4 kB / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.001e-05/0.005544, allocations: 20.84 kB / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.005545, allocations: 0 / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001979/0.005742, allocations: 4 kB / 0.8227 GB, free: 14.45 MB / 0.8073 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 8.071e-05/0.005823, allocations: 78.95 kB / 0.8227 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.9e-05/0.005902, allocations: 20.84 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.005908, allocations: 8 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/0.005948, allocations: 20.78 kB / 0.8228 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.006113, allocations: 52.55 kB / 0.8228 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.006482, allocations: 128.7 kB / 0.823 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.262e-05/0.006515, allocations: 59.34 kB / 0.823 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.541e-05/0.00654, allocations: 0 / 0.823 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.006601, allocations: 59.38 kB / 0.8231 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of SimCode: time 4.1e-07/0.006602, allocations: 4 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of Templates: time 0.002954/0.009555, allocations: 0.9523 MB / 0.824 GB, free: 13.02 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1952365301549435]