Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001873/0.001873, allocations: 79.7 kB / 20.23 MB, free: 4.195 MB / 18.57 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.002071/0.002071, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.597/1.597, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.87/2.87, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 0 / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.473e-05/3.733e-05, allocations: 6.906 kB / 0.7864 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002177/0.002215, allocations: 0.8155 MB / 0.7872 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.003722, allocations: 0.918 MB / 0.7881 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.003832, allocations: 5.562 kB / 0.7881 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.004014, allocations: 11.88 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.815e-05/0.004063, allocations: 11.86 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.004339, allocations: 33.06 kB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.004514, allocations: 79.77 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.004674, allocations: 23.92 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.004933, allocations: 44.7 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.005063, allocations: 20.83 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.005098, allocations: 4 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.888e-05/0.005166, allocations: 12 kB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.61e-05/0.005202, allocations: 20.56 kB / 0.7884 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.045e-05/0.005253, allocations: 15.94 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.005542, allocations: 89.25 kB / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.00555, allocations: 0 / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.256e-06/0.005554, allocations: 0 / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.005565, allocations: 0 / 0.7885 GB, free: 10.63 MB / 0.7448 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.0009854/0.00655, allocations: 415.4 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.953e-05/0.006619, allocations: 8.031 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.0069, allocations: 20.89 kB / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.007233, allocations: 150.6 kB / 0.7891 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.007254, allocations: 4.375 kB / 0.7891 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.007292, allocations: 4.375 kB / 0.7891 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.007503, allocations: 66.8 kB / 0.7891 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.007516, allocations: 192 / 0.7891 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.007534, allocations: 4.969 kB / 0.7891 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.007541, allocations: 384 / 0.7891 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.007661, allocations: 37.52 kB / 0.7892 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007265/0.008388, allocations: 307.6 kB / 0.7895 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.008558, allocations: 51.73 kB / 0.7895 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.863e-05/0.008616, allocations: 24.94 kB / 0.7895 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.008635, allocations: 0 / 0.7895 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.00867, allocations: 37.39 kB / 0.7896 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 7.02e-07/0.008671, allocations: 1.531 kB / 0.7896 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002789/0.00895, allocations: 73.75 kB / 0.7897 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.008997, allocations: 51.41 kB / 0.7897 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.009186, allocations: 205.8 kB / 0.7899 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.009211, allocations: 30.27 kB / 0.7899 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.009316, allocations: 148.2 kB / 0.7901 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.009335, allocations: 7.953 kB / 0.7901 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.009385, allocations: 27.38 kB / 0.7901 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002616/0.009647, allocations: 0.4923 MB / 0.7906 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.14e-05/0.009698, allocations: 16.61 kB / 0.7906 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-05/0.009737, allocations: 13.97 kB / 0.7906 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.219e-05/0.009819, allocations: 31.61 kB / 0.7906 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.009824, allocations: 4 kB / 0.7906 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001373/0.009961, allocations: 65.86 kB / 0.7907 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.009977, allocations: 10.19 kB / 0.7907 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.009982, allocations: 0.5312 kB / 0.7907 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.009998, allocations: 0.7188 kB / 0.7907 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.291e-05/0.01006, allocations: 4.047 kB / 0.7907 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.01007, allocations: 5.234 kB / 0.7907 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.651e-05/0.01014, allocations: 15.94 kB / 0.7907 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.01014, allocations: 0 / 0.7907 GB, free: 8.145 MB / 0.7448 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.0001263/0.01027, allocations: 161.2 kB / 0.7909 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.0103, allocations: 9.062 kB / 0.7909 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/0.01033, allocations: 12.33 kB / 0.7909 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.01033, allocations: 4 kB / 0.7909 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.01034, allocations: 4.719 kB / 0.7909 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.01034, allocations: 0 / 0.7909 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.01053, allocations: 145.2 kB / 0.7911 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.01053, allocations: 0 / 0.7911 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.368e-05/0.01057, allocations: 1.25 kB / 0.7911 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.01058, allocations: 7.938 kB / 0.7911 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.01058, allocations: 0 / 0.7911 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.01058, allocations: 0.5 kB / 0.7911 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01059, allocations: 1.125 kB / 0.7911 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.01081, allocations: 203.9 kB / 0.7913 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.01083, allocations: 11.89 kB / 0.7913 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.01085, allocations: 0.9062 kB / 0.7913 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.01093, allocations: 7.984 kB / 0.7913 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/0.01099, allocations: 12.83 kB / 0.7913 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.01099, allocations: 3.938 kB / 0.7913 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001141/0.01111, allocations: 153.3 kB / 0.7915 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01111, allocations: 0 / 0.7915 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002167/0.01132, allocations: 11.95 kB / 0.7915 GB, free: 7.348 MB / 0.7448 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.0001654/0.01149, allocations: 103.2 kB / 0.7916 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001661/0.01165, allocations: 42.45 kB / 0.7916 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01166, allocations: 0 / 0.7916 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.07e-05/0.01172, allocations: 19.69 kB / 0.7916 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.01199, allocations: 11.92 kB / 0.7916 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.01243, allocations: 185.8 kB / 0.7918 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.294e-05/0.01253, allocations: 76.8 kB / 0.7919 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.188e-05/0.01257, allocations: 4.5 kB / 0.7919 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.01261, allocations: 13.31 kB / 0.7919 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.01262, allocations: 0 / 0.7919 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of Templates: time 0.004217/0.01683, allocations: 0.9274 MB / 0.7928 GB, free: 5.945 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.987624997971579]