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.001311/0.001311, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002517/0.002517, allocations: 208.8 kB / 22.99 MB, free: 4.957 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.781/1.781, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.421/3.421, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] 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.002077/0.002077, allocations: 71.38 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4031, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.00219/0.4052, allocations: 0.8381 MB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.4065, allocations: 0.925 MB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.089e-05/0.4066, allocations: 7.938 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.4068, allocations: 7.875 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.217e-05/0.4068, allocations: 19.84 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.4071, allocations: 35.91 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.4072, allocations: 107.7 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.4074, allocations: 31.98 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.4075, allocations: 47.78 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.421e-05/0.4076, allocations: 43.83 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.4076, allocations: 8 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.325e-05/0.4077, allocations: 8 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.847e-05/0.4077, allocations: 23.91 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.4078, allocations: 27.81 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.408, allocations: 111.5 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.408, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.956e-06/0.408, allocations: 4 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.408, allocations: 0 / 1.329 GB, free: 14.72 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.0006694/0.4086, allocations: 337.9 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.4087, allocations: 8.031 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.4088, allocations: 16.88 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.4091, allocations: 160.2 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.4091, allocations: 4.375 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.4091, allocations: 12.38 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.4094, allocations: 94.19 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.4094, allocations: 192 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.4094, allocations: 3.938 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.4094, allocations: 4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.4097, allocations: 63.94 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005149/0.4102, allocations: 284.3 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.4104, allocations: 66.47 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.4106, allocations: 36.92 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.4106, allocations: 0 / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.332e-05/0.4107, allocations: 30.56 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.4107, allocations: 4 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004528/0.4111, allocations: 117.6 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.4112, allocations: 51.41 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.4113, allocations: 139.5 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.4113, allocations: 33.64 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/0.4114, allocations: 108 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.4114, allocations: 7.953 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.4115, allocations: 21.72 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.4117, allocations: 322.8 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.4118, allocations: 27.97 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.4119, allocations: 35.97 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.4121, allocations: 52.81 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4121, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002579/0.4123, allocations: 101.6 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.4124, allocations: 4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4124, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4124, allocations: 4.125 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.4125, allocations: 15.98 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.4125, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.4126, allocations: 27.91 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.4126, allocations: 4 kB / 1.331 GB, free: 12.39 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.0001069/0.4127, allocations: 117.8 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.4127, allocations: 7.953 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.4128, allocations: 12.34 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4128, allocations: 0 / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4128, allocations: 0 / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4128, allocations: 3.938 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.413, allocations: 121.3 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.413, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.485e-05/0.4131, allocations: 23.92 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4131, allocations: 4 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.4131, allocations: 3.984 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.4131, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4131, allocations: 0 / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.4134, allocations: 187.3 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.4134, allocations: 11.95 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.4134, allocations: 0 / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.4136, allocations: 24.2 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.4136, allocations: 11.98 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.4136, allocations: 0 / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.165e-05/0.4137, allocations: 104.3 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4137, allocations: 0 / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002399/0.4139, allocations: 27.83 kB / 1.332 GB, free: 11.68 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.0001392/0.4141, allocations: 103.2 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002974/0.4144, allocations: 71.88 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4144, allocations: 0 / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.4145, allocations: 31.97 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.4148, allocations: 8 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.4152, allocations: 183.4 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.4154, allocations: 84.91 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.612e-05/0.4154, allocations: 4 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.4155, allocations: 15.42 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4155, allocations: 0 / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of Templates: time 0.004123/0.4196, allocations: 1.156 MB / 1.334 GB, free: 9.996 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 -s cvode -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: 9.80328746100713]