Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.001736/0.001736, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002143/0.002143, allocations: 221.1 kB / 23 MB, free: 4.914 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.153/3.153, allocations: 0.4892 GB / 0.7951 GB, free: 35.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less") [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.002046/0.002046, allocations: 69.05 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3026, allocations: 176.1 MB / 1.326 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.0023/0.3049, allocations: 0.8455 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3063, allocations: 0.9288 MB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.3064, allocations: 4 kB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.3066, allocations: 15.8 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.501e-05/0.3066, allocations: 15.92 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.3069, allocations: 39.89 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.3071, allocations: 99.7 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.3072, allocations: 31.97 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.3074, allocations: 39.91 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.646e-05/0.3075, allocations: 39.78 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.3075, allocations: 8 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.035e-05/0.3076, allocations: 11.98 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.3076, allocations: 27.86 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.717e-05/0.3076, allocations: 27.81 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.3078, allocations: 111.5 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3078, allocations: 0 / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3078, allocations: 0 / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3078, allocations: 0 / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006849/0.3085, allocations: 338.9 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3086, allocations: 8.031 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.3087, allocations: 20.88 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.309, allocations: 158.2 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.3091, allocations: 8.375 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.3091, allocations: 4.375 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.3093, allocations: 90.2 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3093, allocations: 192 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.3094, allocations: 7.938 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.3094, allocations: 4 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.3096, allocations: 67.94 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.3101, allocations: 276.3 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.3104, allocations: 62.53 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.3105, allocations: 32.92 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.3105, allocations: 7.938 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3106, allocations: 30.56 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.3106, allocations: 0 / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004591/0.311, allocations: 121.6 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.3111, allocations: 55.34 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.3112, allocations: 135.5 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.3112, allocations: 25.7 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/0.3113, allocations: 112 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.3113, allocations: 11.95 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.3114, allocations: 17.7 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3115, allocations: 318.8 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.3116, allocations: 31.97 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.3117, allocations: 39.84 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.312, allocations: 60.81 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.312, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002744/0.3122, allocations: 97.78 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3122, allocations: 4 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.3122, allocations: 4 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3123, allocations: 0 / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3124, allocations: 11.98 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3124, allocations: 0 / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.3125, allocations: 31.84 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.3125, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 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 (5): * Single equations (assignments): 5 * 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.0001066/0.3126, allocations: 117.8 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.3126, allocations: 7.953 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.3127, allocations: 12.34 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3127, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3127, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3127, allocations: 7.969 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.3129, allocations: 129.3 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3129, allocations: 8 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.888e-05/0.3129, allocations: 7.984 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3129, allocations: 4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.313, allocations: 3.984 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.313, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.313, allocations: 0 / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.3133, allocations: 191.3 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.3133, allocations: 7.953 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.3133, allocations: 4 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.3135, allocations: 19.97 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.3135, allocations: 11.98 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.3135, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.822e-05/0.3136, allocations: 105 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3136, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002367/0.3138, allocations: 23.83 kB / 1.331 GB, free: 12.52 MB / 1.029 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 (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.00014/0.314, allocations: 103.2 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003049/0.3143, allocations: 67.88 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3143, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.3144, allocations: 43.84 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.3147, allocations: 12.06 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/0.3151, allocations: 209.1 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.713e-05/0.3152, allocations: 79.19 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.3152, allocations: 15.44 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3152, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of Templates: time 0.002847/0.3181, allocations: 1.155 MB / 1.333 GB, free: 10.79 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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: 10.996688600163907]