Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001847/0.001847, 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.002142/0.002142, allocations: 216.4 kB / 22.25 MB, free: 5.262 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.599/1.599, allocations: 230.6 MB / 256 MB, free: 7.828 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.544/3.544, allocations: 0.5107 GB / 0.8158 GB, free: 17.89 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.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.002146/0.002146, allocations: 67.64 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4606/0.4628, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.00231/0.4651, allocations: 0.7981 MB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.4664, allocations: 0.9016 MB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.4665, allocations: 11.94 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.4667, allocations: 11.86 kB / 1.366 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.25e-05/0.4667, allocations: 11.86 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.467, allocations: 35.91 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.4671, allocations: 63.84 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.4673, allocations: 23.92 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.4674, allocations: 39.84 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.376e-05/0.4675, allocations: 27.84 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.4675, allocations: 8 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.149e-05/0.4676, allocations: 12 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.4676, allocations: 11.88 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.4676, allocations: 31.84 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.4678, allocations: 91.55 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4678, allocations: 0 / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4678, allocations: 0 / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.4679, allocations: 0 / 1.366 GB, free: 11.49 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008361/0.4687, allocations: 310 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.4687, allocations: 12.02 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/0.469, allocations: 28.89 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.4692, allocations: 138.4 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.4693, allocations: 4.375 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.4693, allocations: 4.375 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.4695, allocations: 58.23 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4695, allocations: 192 / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.4695, allocations: 15.88 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.4695, allocations: 0 / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.4696, allocations: 35.97 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005185/0.4701, allocations: 260.3 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.4703, allocations: 50.55 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.789e-05/0.4704, allocations: 20.91 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.4704, allocations: 0 / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.4704, allocations: 30.56 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4705, allocations: 0 / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0003029/0.4708, allocations: 81.78 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.4708, allocations: 51.41 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.4709, allocations: 136 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.471, allocations: 29.7 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.357e-05/0.471, allocations: 96.08 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.4711, allocations: 11.94 kB / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.4711, allocations: 13.72 kB / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.4713, allocations: 326.8 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.267e-05/0.4713, allocations: 12 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.596e-05/0.4714, allocations: 19.98 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.417e-05/0.4715, allocations: 28.84 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4715, allocations: 0 / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000155/0.4716, allocations: 73.56 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.4717, allocations: 7.938 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4717, allocations: 0 / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.4717, allocations: 0 / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.926e-05/0.4717, allocations: 4 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.4717, allocations: 0 / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.427e-05/0.4718, allocations: 19.94 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.4718, allocations: 0 / 1.368 GB, free: 9.473 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 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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.000113/0.4719, allocations: 122.9 kB / 1.368 GB, free: 9.344 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.472, allocations: 4 kB / 1.368 GB, free: 9.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.809e-05/0.472, allocations: 8.344 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.472, allocations: 4 kB / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.472, allocations: 0 / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.472, allocations: 0 / 1.368 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.4722, allocations: 129.2 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.4722, allocations: 4 kB / 1.368 GB, free: 9.156 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.796e-05/0.4722, allocations: 4 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.4722, allocations: 0 / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.4722, allocations: 7.938 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4722, allocations: 3.984 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4722, allocations: 0 / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.4724, allocations: 155.5 kB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.4725, allocations: 11.89 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.4725, allocations: 4 kB / 1.368 GB, free: 8.957 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.4726, allocations: 15.98 kB / 1.368 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.4727, allocations: 8.359 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.4727, allocations: 0 / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.435e-05/0.4727, allocations: 105.7 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4727, allocations: 7.938 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002388/0.473, allocations: 7.953 kB / 1.368 GB, free: 8.816 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001974/0.4732, allocations: 111.2 kB / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.4734, allocations: 35.92 kB / 1.368 GB, free: 8.664 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4734, allocations: 0 / 1.368 GB, free: 8.664 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.444e-05/0.4735, allocations: 19.98 kB / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.4738, allocations: 7.938 kB / 1.368 GB, free: 8.637 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.4742, allocations: 162.7 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.466e-05/0.4743, allocations: 80.98 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.202e-05/0.4743, allocations: 8 kB / 1.369 GB, free: 8.348 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.4744, allocations: 15.42 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.4744, allocations: 0 / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of Templates: time 0.004022/0.4784, allocations: 0.9444 MB / 1.37 GB, free: 7.41 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.963895209133625]