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.001349/0.001349, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001492/0.001492, allocations: 156.4 kB / 23.01 MB, free: 4.949 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.462/1.462, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.986/2.986, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.002137/0.002137, allocations: 63.91 kB / 0.982 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9902/0.9923, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001822/0.9941, allocations: 0.8289 MB / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009908/0.9951, allocations: 0.9225 MB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.9952, allocations: 2.125 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.9954, allocations: 19.23 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.966e-05/0.9954, allocations: 10.81 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.9956, allocations: 51.75 kB / 1.156 GB, free: 32.05 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.9957, allocations: 103.9 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.9958, allocations: 31.09 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.9959, allocations: 48.48 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.395e-05/0.996, allocations: 40.08 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.996, allocations: 7.875 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.051e-05/0.9961, allocations: 8.719 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.9961, allocations: 17.91 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.243e-05/0.9961, allocations: 35.22 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.9963, allocations: 100.9 kB / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.9963, allocations: 0 / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9963, allocations: 0 / 1.156 GB, free: 31.87 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.9963, allocations: 4 kB / 1.156 GB, free: 31.87 MB / 1.076 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.000512/0.9968, allocations: 343.5 kB / 1.156 GB, free: 31.56 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.9968, allocations: 8.625 kB / 1.156 GB, free: 31.56 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.997, allocations: 19.66 kB / 1.156 GB, free: 31.56 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.9971, allocations: 152 kB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.9972, allocations: 3.469 kB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.9972, allocations: 14.28 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.9974, allocations: 91.23 kB / 1.157 GB, free: 31.35 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.9974, allocations: 192 / 1.157 GB, free: 31.35 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.9974, allocations: 6.719 kB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.9974, allocations: 0 / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.9977, allocations: 75.77 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004037/0.9981, allocations: 268.9 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.9983, allocations: 72.45 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.9984, allocations: 30.25 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.9984, allocations: 2.594 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.786e-05/0.9984, allocations: 34.56 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.9984, allocations: 0 / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0004161/0.9988, allocations: 124.1 kB / 1.157 GB, free: 30.94 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.9989, allocations: 51.41 kB / 1.157 GB, free: 30.88 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.879e-05/0.9989, allocations: 130.4 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.9989, allocations: 32.77 kB / 1.158 GB, free: 30.74 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.999, allocations: 110.2 kB / 1.158 GB, free: 30.63 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.999, allocations: 10.66 kB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.999, allocations: 22.84 kB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.95e-05/0.9991, allocations: 326.2 kB / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.9992, allocations: 27.52 kB / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.9993, allocations: 34.92 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.9995, allocations: 55.14 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.9995, allocations: 3.938 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002449/0.9997, allocations: 101.3 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.9997, allocations: 5.938 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.9997, allocations: 0 / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.9998, allocations: 0 / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.9999, allocations: 15.97 kB / 1.158 GB, free: 30.19 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.9999, allocations: 0 / 1.158 GB, free: 30.19 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/1, allocations: 23.08 kB / 1.158 GB, free: 30.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-06/1, allocations: 3.156 kB / 1.158 GB, free: 30.18 MB / 1.076 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 5.316e-05/1, allocations: 117.4 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/1, allocations: 10.03 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/1, allocations: 11.16 kB / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/1, allocations: 0 / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1, allocations: 2.812 kB / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1, allocations: 3.938 kB / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/1, allocations: 132.2 kB / 1.158 GB, free: 29.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/1, allocations: 0 / 1.158 GB, free: 29.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.027e-05/1, allocations: 11.89 kB / 1.159 GB, free: 29.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1, allocations: 0 / 1.159 GB, free: 29.9 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/1, allocations: 8 kB / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1, allocations: 0 / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1, allocations: 0 / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/1.001, allocations: 202.9 kB / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.193e-05/1.001, allocations: 6.516 kB / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/1.001, allocations: 0 / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/1.001, allocations: 17.81 kB / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/1.001, allocations: 13.41 kB / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/1.001, allocations: 4 kB / 1.159 GB, free: 29.72 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.995e-05/1.001, allocations: 106.2 kB / 1.159 GB, free: 29.64 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.001, allocations: 0 / 1.159 GB, free: 29.64 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002348/1.001, allocations: 18.42 kB / 1.159 GB, free: 29.63 MB / 1.076 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 7.88e-05/1.001, allocations: 99.8 kB / 1.159 GB, free: 29.54 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000274/1.001, allocations: 65.84 kB / 1.159 GB, free: 29.53 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/1.001, allocations: 4 kB / 1.159 GB, free: 29.52 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/1.002, allocations: 36.53 kB / 1.159 GB, free: 29.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/1.002, allocations: 9.438 kB / 1.159 GB, free: 29.51 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000339/1.002, allocations: 184.8 kB / 1.159 GB, free: 29.36 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.072e-05/1.002, allocations: 79.98 kB / 1.159 GB, free: 29.29 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.038e-05/1.002, allocations: 9.766 kB / 1.159 GB, free: 29.29 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/1.002, allocations: 15.06 kB / 1.159 GB, free: 29.27 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/1.002, allocations: 3.156 kB / 1.159 GB, free: 29.27 MB / 1.076 GB Notification: Performance of Templates: time 0.003485/1.006, allocations: 1.079 MB / 1.16 GB, free: 29.14 MB / 1.076 GB " [Timeout remaining time 299] 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 ida -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.215554152964614]