Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 189.3 kB / 22.1 MB, free: 5.148 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.268/3.268, allocations: 495.8 MB / 0.783 GB, free: 33.71 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold")
translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 71.58 kB / 1.137 GB, free: 33.77 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.438, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002259/0.4403, allocations: 0.832 MB / 1.308 GB, free: 0.9805 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.00128/0.4416, allocations: 0.8779 MB / 1.308 GB, free: 92 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.4417, allocations: 3.938 kB / 1.308 GB, free: 88 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.4418, allocations: 11.88 kB / 1.308 GB, free: 76 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 4.252e-05/0.4419, allocations: 11.88 kB / 1.308 GB, free: 64 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.4421, allocations: 27.91 kB / 1.309 GB, free: 36 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001864/0.4423, allocations: 79.77 kB / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.4424, allocations: 19.98 kB / 1.309 GB, free: 15.94 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.661e-05/0.4425, allocations: 27.86 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.635e-05/0.4426, allocations: 35.78 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.4426, allocations: 11.98 kB / 1.309 GB, free: 15.86 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.548e-05/0.4426, allocations: 4 kB / 1.309 GB, free: 15.86 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.612e-05/0.4427, allocations: 15.88 kB / 1.309 GB, free: 15.84 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 6.275e-05/0.4427, allocations: 35.8 kB / 1.309 GB, free: 15.81 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.4429, allocations: 83.61 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.4429, allocations: 0 / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.094e-06/0.4429, allocations: 0 / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.673e-06/0.4429, allocations: 0 / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 9
 * Number of variables: 9
Notification: Performance of Generate backend data structure: time 0.0006237/0.4435, allocations: 312.6 kB / 1.309 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.4436, allocations: 12.03 kB / 1.309 GB, free: 15.38 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.4436, allocations: 12.88 kB / 1.309 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.4439, allocations: 143.1 kB / 1.309 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.4439, allocations: 4.375 kB / 1.309 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.4439, allocations: 12.34 kB / 1.309 GB, free: 15.19 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.4441, allocations: 58.23 kB / 1.309 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4441, allocations: 192 / 1.309 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.4441, allocations: 7.938 kB / 1.309 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.4441, allocations: 4 kB / 1.309 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.4443, allocations: 35.92 kB / 1.309 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.4448, allocations: 283.8 kB / 1.31 GB, free: 14.76 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.445, allocations: 54.58 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 6.117e-05/0.4451, allocations: 21 kB / 1.31 GB, free: 14.67 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.4451, allocations: 7.938 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.4451, allocations: 30.56 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.4451, allocations: 0 / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0003022/0.4454, allocations: 65.67 kB / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.4455, allocations: 55.41 kB / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.4456, allocations: 136 kB / 1.31 GB, free: 14.35 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.4456, allocations: 33.64 kB / 1.31 GB, free: 14.31 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.4457, allocations: 104.1 kB / 1.31 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.4457, allocations: 7.953 kB / 1.31 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.4458, allocations: 17.72 kB / 1.31 GB, free: 14.17 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.000174/0.4459, allocations: 322.8 kB / 1.31 GB, free: 13.85 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.95e-05/0.446, allocations: 15.98 kB / 1.31 GB, free: 13.83 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.531e-05/0.446, allocations: 12 kB / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 9.312e-05/0.4461, allocations: 32.84 kB / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.4461, allocations: 0 / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001465/0.4463, allocations: 65.62 kB / 1.311 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4463, allocations: 11.94 kB / 1.311 GB, free: 13.7 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4463, allocations: 0 / 1.311 GB, free: 13.7 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.4463, allocations: 0 / 1.311 GB, free: 13.7 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.004e-05/0.4464, allocations: 11.92 kB / 1.311 GB, free: 13.69 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.4464, allocations: 0 / 1.311 GB, free: 13.69 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.739e-05/0.4465, allocations: 7.984 kB / 1.311 GB, free: 13.68 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.4465, allocations: 8 kB / 1.311 GB, free: 13.68 MB / 1.014 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 (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 prepare postOptimizeDAE: time 0.0001226/0.4466, allocations: 126.5 kB / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.4466, allocations: 3.953 kB / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.4467, allocations: 12.34 kB / 1.311 GB, free: 13.52 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.4467, allocations: 0 / 1.311 GB, free: 13.52 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4467, allocations: 0 / 1.311 GB, free: 13.52 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4467, allocations: 336 / 1.311 GB, free: 13.52 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.4469, allocations: 160.6 kB / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4469, allocations: 0 / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.05e-05/0.447, allocations: 4 kB / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.447, allocations: 4 kB / 1.311 GB, free: 13.31 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.447, allocations: 0 / 1.311 GB, free: 13.31 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.447, allocations: 0 / 1.311 GB, free: 13.31 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.447, allocations: 3.984 kB / 1.311 GB, free: 13.31 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.4472, allocations: 167.3 kB / 1.311 GB, free: 13.13 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.4472, allocations: 11.95 kB / 1.311 GB, free: 13.12 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.4472, allocations: 3.984 kB / 1.311 GB, free: 13.11 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.4473, allocations: 8 kB / 1.311 GB, free: 13.11 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.236e-05/0.4474, allocations: 11.97 kB / 1.311 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.4474, allocations: 0 / 1.311 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001026/0.4475, allocations: 105.5 kB / 1.311 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4475, allocations: 0 / 1.311 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002606/0.4478, allocations: 15.94 kB / 1.311 GB, free: 12.98 MB / 1.014 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 (3):
 * Single equations (assignments): 3
 * 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.0001926/0.448, allocations: 95.25 kB / 1.311 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001946/0.4482, allocations: 43.97 kB / 1.311 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4482, allocations: 0 / 1.311 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 5.911e-05/0.4482, allocations: 19.92 kB / 1.311 GB, free: 12.81 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.4485, allocations: 15.86 kB / 1.311 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.449, allocations: 166.7 kB / 1.312 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.4494, allocations: 0.6924 MB / 1.312 GB, free: 11.89 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 4.556e-05/0.4495, allocations: 7.75 kB / 1.312 GB, free: 11.88 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.695e-05/0.4495, allocations: 11.44 kB / 1.312 GB, free: 11.87 MB / 1.014 GB
Notification: Performance of SimCode: time 5.51e-07/0.4495, allocations: 0 / 1.312 GB, free: 11.87 MB / 1.014 GB
Notification: Performance of Templates: time 0.003955/0.4535, allocations: 0.8749 MB / 1.313 GB, free: 11 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.520307104103267]