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.001505/0.001505, 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.001474/0.001474, allocations: 211 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.508/1.508, allocations: 230.6 MB / 256.8 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.259/3.259, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.00286/0.00286, allocations: 68.55 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4061, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002327/0.4084, allocations: 0.8426 MB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.4098, allocations: 0.9211 MB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.4099, allocations: 4 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.4101, allocations: 19.8 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.832e-05/0.4101, allocations: 15.88 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.4103, allocations: 39.89 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.4105, allocations: 99.7 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.4107, allocations: 31.97 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.4108, allocations: 47.84 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.473e-05/0.4109, allocations: 39.78 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.4109, allocations: 11.98 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.669e-05/0.411, allocations: 12 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.411, allocations: 19.92 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.411, allocations: 31.8 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.4112, allocations: 111.5 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4112, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4112, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.4112, allocations: 0 / 1.329 GB, free: 14.69 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.0006606/0.4119, allocations: 339.5 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.4119, allocations: 8.031 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.4121, allocations: 20.88 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.4124, allocations: 154.2 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.4124, allocations: 12.36 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.4124, allocations: 4.375 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.4127, allocations: 94.14 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4127, allocations: 192 / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.4127, allocations: 7.938 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.4127, allocations: 4 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002583/0.413, allocations: 69.06 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.4135, allocations: 276.3 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.4138, allocations: 62.53 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.4139, allocations: 40.86 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.4139, allocations: 4 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.414, allocations: 34.56 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.414, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004928/0.4145, allocations: 113.6 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.4145, allocations: 51.41 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.4146, allocations: 135.7 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.4147, allocations: 25.7 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.587e-05/0.4148, allocations: 116 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.4148, allocations: 7.953 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.4148, allocations: 21.7 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.415, allocations: 322.7 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.4151, allocations: 35.91 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.4152, allocations: 31.97 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.4155, allocations: 56.81 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4155, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002841/0.4157, allocations: 97.59 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.4158, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.4158, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.4158, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.4159, allocations: 16.11 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4159, allocations: 4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.416, allocations: 27.91 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.416, allocations: 0 / 1.331 GB, free: 12.36 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.0001162/0.4161, allocations: 121.8 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.4162, allocations: 7.953 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.856e-05/0.4162, allocations: 12.34 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4162, allocations: 3.984 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4162, allocations: 0 / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4162, allocations: 3.938 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.4164, allocations: 129.3 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4164, allocations: 4 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.616e-05/0.4165, allocations: 7.984 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.4165, allocations: 4 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.4165, allocations: 0 / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4165, allocations: 3.938 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4165, allocations: 0 / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.4168, allocations: 195.5 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.4169, allocations: 4 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.4169, allocations: 15.97 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.417, allocations: 15.98 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.4171, allocations: 15.97 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.4171, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.308e-05/0.4172, allocations: 97.14 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4172, allocations: 0 / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002433/0.4174, allocations: 27.83 kB / 1.332 GB, free: 11.64 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.0001262/0.4176, allocations: 99.23 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002982/0.4179, allocations: 71.88 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4179, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.418, allocations: 35.91 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.4183, allocations: 10.53 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.4187, allocations: 187.4 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.792e-05/0.4188, allocations: 79.19 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.631e-05/0.4189, allocations: 7.984 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.4189, allocations: 11.44 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4189, allocations: 0 / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of Templates: time 0.004344/0.4233, allocations: 1.156 MB / 1.334 GB, free: 9.957 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 gbode -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.012321533999057]