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.001937/0.001937, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.002692/0.002692, allocations: 213 kB / 22.25 MB, free: 5.238 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.809 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.33/3.33, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 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.002135/0.002135, allocations: 69.3 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4074, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.003121/0.4106, allocations: 0.8438 MB / 1.326 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.4125, allocations: 0.9211 MB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.4126, allocations: 4 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.4128, allocations: 23.8 kB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.505e-05/0.4129, allocations: 11.88 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.4131, allocations: 35.89 kB / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002586/0.4134, allocations: 103.7 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.4136, allocations: 31.98 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.4138, allocations: 47.78 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.4139, allocations: 39.83 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.4139, allocations: 8 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.278e-05/0.414, allocations: 12 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.42e-05/0.414, allocations: 19.92 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.419e-05/0.414, allocations: 31.8 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.4143, allocations: 107.5 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4143, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4143, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.4143, allocations: 0 / 1.328 GB, free: 15.61 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.0008021/0.4151, allocations: 337.9 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4152, allocations: 8.031 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002105/0.4154, allocations: 28.81 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.4158, allocations: 150.3 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.4158, allocations: 384 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.4158, allocations: 12.38 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.4162, allocations: 92.7 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4162, allocations: 192 / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.4162, allocations: 3.938 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.4162, allocations: 8 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.4165, allocations: 63.94 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006907/0.4172, allocations: 280.3 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003646/0.4176, allocations: 62.48 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.4177, allocations: 40.92 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.4178, allocations: 0 / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.4178, allocations: 30.56 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.4178, allocations: 0 / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0006565/0.4185, allocations: 117.6 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.4185, allocations: 51.41 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.4187, allocations: 143.5 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.4187, allocations: 29.7 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.357e-05/0.4188, allocations: 111.9 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.4188, allocations: 7.953 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/0.4189, allocations: 21.7 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.4191, allocations: 326.7 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.4192, allocations: 23.98 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.4193, allocations: 35.97 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.4195, allocations: 60.94 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.4195, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000292/0.4198, allocations: 97.59 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.4198, allocations: 4 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4198, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.4198, allocations: 192 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.4199, allocations: 19.92 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.42, allocations: 3.984 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.4201, allocations: 23.92 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.4201, allocations: 0 / 1.33 GB, free: 13.29 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.0001089/0.4202, allocations: 121.8 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.4202, allocations: 7.953 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.301e-05/0.4203, allocations: 16.33 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.4203, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4203, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4203, allocations: 7.938 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.4205, allocations: 125.3 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.4205, allocations: 7.938 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.4206, allocations: 11.98 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4206, allocations: 4 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.4207, allocations: 0 / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4207, allocations: 0 / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4207, allocations: 0 / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.4211, allocations: 191.3 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.537e-05/0.4212, allocations: 15.94 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.4212, allocations: 0 / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.4214, allocations: 15.98 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/0.4215, allocations: 15.97 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.4215, allocations: 4.062 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001351/0.4216, allocations: 96.98 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4216, allocations: 0 / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002948/0.4219, allocations: 27.83 kB / 1.33 GB, free: 12.56 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.0001401/0.422, allocations: 103.2 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003041/0.4223, allocations: 71.81 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4223, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.4225, allocations: 31.97 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.4228, allocations: 17.55 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.4233, allocations: 179.4 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.119e-05/0.4234, allocations: 79.19 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.913e-05/0.4234, allocations: 7.984 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.4234, allocations: 15.44 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4234, allocations: 0 / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of Templates: time 0.004248/0.4277, allocations: 1.13 MB / 1.332 GB, free: 10.9 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/jenkins/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.639109155163169]