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.001106/0.001106, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001814/0.00292, 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.001119/0.001119, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001408/0.002527, 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.9823/0.9823, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08912/1.071, 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.444/2.444, allocations: 447.1 MB / 0.675 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2414/2.685, allocations: 146 MB / 0.8176 GB, free: 3.852 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.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: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.819 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.884e-05, allocations: 2.312 kB / 0.819 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001663/0.001692, allocations: 0.8575 MB / 0.8198 GB, free: 1.586 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007964/0.002488, allocations: 0.9365 MB / 0.8207 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.305e-05/0.002571, allocations: 7.938 kB / 0.8208 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.132e-05/0.002642, allocations: 11.86 kB / 0.8208 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.389e-05/0.002676, allocations: 15.88 kB / 0.8208 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001045/0.002781, allocations: 35.83 kB / 0.8208 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.778e-05/0.002878, allocations: 75.72 kB / 0.8209 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.18e-05/0.00297, allocations: 27.95 kB / 0.8209 GB, free: 476 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.003112, allocations: 63.78 kB / 0.821 GB, free: 412 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.308e-05/0.003175, allocations: 19.97 kB / 0.821 GB, free: 392 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.003191, allocations: 4 kB / 0.821 GB, free: 388 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.034e-05/0.003241, allocations: 11.94 kB / 0.821 GB, free: 376 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.003257, allocations: 8 kB / 0.821 GB, free: 368 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.003277, allocations: 15.94 kB / 0.821 GB, free: 352 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.003385, allocations: 43.84 kB / 0.8211 GB, free: 308 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/0.003397, allocations: 0 / 0.8211 GB, free: 308 kB / 0.7917 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003397, allocations: 0 / 0.8211 GB, free: 308 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.00341, allocations: 0 / 0.8211 GB, free: 308 kB / 0.7917 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.0004143/0.003825, allocations: 308.3 kB / 0.8214 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.003856, allocations: 8.031 kB / 0.8214 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.004002, allocations: 102 kB / 0.8215 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.004148, allocations: 137.5 kB / 0.8216 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.659e-06/0.004157, allocations: 4.359 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.00417, allocations: 8.375 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.249e-05/0.004263, allocations: 66.88 kB / 0.8217 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.004269, allocations: 4.125 kB / 0.8217 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-06/0.004275, allocations: 4.375 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.004282, allocations: 4.125 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.545e-05/0.004307, allocations: 15.97 kB / 0.8217 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.004534, allocations: 180.2 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.417e-05/0.004609, allocations: 30.56 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.172e-05/0.00462, allocations: 4.859 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.004631, allocations: 4 kB / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.004656, allocations: 34.5 kB / 0.822 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.004657, allocations: 4 kB / 0.822 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001059/0.004762, allocations: 45.81 kB / 0.822 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.004786, allocations: 51.41 kB / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.954e-05/0.004855, allocations: 142.2 kB / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.004872, allocations: 25.7 kB / 0.8222 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.004914, allocations: 92.11 kB / 0.8223 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.004931, allocations: 11.95 kB / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.004957, allocations: 17.7 kB / 0.8223 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.101e-05/0.005028, allocations: 314.8 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.005039, allocations: 4 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.005049, allocations: 7.984 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.195e-05/0.005071, allocations: 16.84 kB / 0.8227 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.005073, allocations: 4 kB / 0.8227 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.368e-05/0.005116, allocations: 45.56 kB / 0.8227 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.005129, allocations: 11.98 kB / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.005132, allocations: 0 / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.005143, allocations: 0 / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.825e-05/0.005192, allocations: 4 kB / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.716e-06/0.005194, allocations: 0 / 0.8227 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.005222, allocations: 23.88 kB / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.005226, allocations: 0 / 0.8227 GB, free: 14.42 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: 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 5.839e-05/0.005284, allocations: 113.8 kB / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.005298, allocations: 7.938 kB / 0.8229 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/0.005319, allocations: 12.28 kB / 0.8229 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.00532, allocations: 0 / 0.8229 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.005322, allocations: 4.312 kB / 0.8229 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.005326, allocations: 4 kB / 0.8229 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.087e-05/0.005406, allocations: 73.88 kB / 0.8229 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.92e-07/0.005407, allocations: 0 / 0.8229 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.465e-05/0.005422, allocations: 4 kB / 0.8229 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.005431, allocations: 15.88 kB / 0.823 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.005433, allocations: 7.938 kB / 0.823 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-06/0.005438, allocations: 3.984 kB / 0.823 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.005439, allocations: 0 / 0.823 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.00544, allocations: 0 / 0.823 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.028e-05/0.00551, allocations: 139.5 kB / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.005524, allocations: 0 / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.896e-05/0.005563, allocations: 7.938 kB / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.0056, allocations: 15.97 kB / 0.8231 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.005602, allocations: 0 / 0.8231 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.106e-05/0.005623, allocations: 24.83 kB / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005623, allocations: 0 / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001098/0.005733, allocations: 12 kB / 0.8232 GB, free: 13.93 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 (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 7.186e-05/0.005805, allocations: 76.42 kB / 0.8232 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.438e-05/0.005869, allocations: 28.78 kB / 0.8233 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.005873, allocations: 0 / 0.8233 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.131e-05/0.005894, allocations: 16.8 kB / 0.8233 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.006063, allocations: 95.5 kB / 0.8234 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006182/0.006681, allocations: 184.1 kB / 0.8235 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.353e-05/0.006714, allocations: 59.34 kB / 0.8236 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.35e-05/0.006738, allocations: 0 / 0.8236 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.006794, allocations: 63.36 kB / 0.8237 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.006795, allocations: 0 / 0.8237 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of Templates: time 0.002451/0.009246, allocations: 1.011 MB / 0.8247 GB, free: 12.34 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.306376511231065]