Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.001416/0.001416, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.001487/0.001487, allocations: 188 kB / 22.23 MB, free: 5.164 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.471/1.471, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.322/3.322, allocations: 0.4893 GB / 0.7884 GB, free: 33.06 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-master/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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002624/0.002624, allocations: 64.98 kB / 1.145 GB, free: 30.63 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4463, allocations: 174.9 MB / 1.316 GB, free: 9.688 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002438/0.4488, allocations: 0.8802 MB / 1.317 GB, free: 8.809 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001305/0.4501, allocations: 0.8936 MB / 1.318 GB, free: 7.902 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.4502, allocations: 3.938 kB / 1.318 GB, free: 7.898 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.4504, allocations: 11.86 kB / 1.318 GB, free: 7.887 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 4.831e-05/0.4504, allocations: 11.88 kB / 1.318 GB, free: 7.875 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.4506, allocations: 51.83 kB / 1.318 GB, free: 7.824 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0001925/0.4508, allocations: 103.7 kB / 1.318 GB, free: 7.723 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.451, allocations: 31.98 kB / 1.318 GB, free: 7.691 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.4512, allocations: 43.8 kB / 1.318 GB, free: 7.648 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.973e-05/0.4513, allocations: 43.81 kB / 1.318 GB, free: 7.605 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.4513, allocations: 8 kB / 1.318 GB, free: 7.598 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.969e-05/0.4513, allocations: 8 kB / 1.318 GB, free: 7.59 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.4513, allocations: 11.94 kB / 1.318 GB, free: 7.578 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 5.421e-05/0.4514, allocations: 39.73 kB / 1.318 GB, free: 7.539 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.4516, allocations: 103.5 kB / 1.318 GB, free: 7.438 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4516, allocations: 4 kB / 1.318 GB, free: 7.434 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.704e-06/0.4516, allocations: 0 / 1.318 GB, free: 7.434 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.159e-05/0.4516, allocations: 0 / 1.318 GB, free: 7.434 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: 14
 * Number of variables: 14
Notification: Performance of Generate backend data structure: time 0.0007474/0.4523, allocations: 333.9 kB / 1.319 GB, free: 7.074 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.4524, allocations: 12.03 kB / 1.319 GB, free: 7.062 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.4524, allocations: 16.84 kB / 1.319 GB, free: 7.047 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.4527, allocations: 146.3 kB / 1.319 GB, free: 6.879 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.4527, allocations: 8.375 kB / 1.319 GB, free: 6.871 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.4528, allocations: 4.375 kB / 1.319 GB, free: 6.867 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.453, allocations: 86.2 kB / 1.319 GB, free: 6.777 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4531, allocations: 192 / 1.319 GB, free: 6.777 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.4531, allocations: 11.94 kB / 1.319 GB, free: 6.766 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.4531, allocations: 0 / 1.319 GB, free: 6.766 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002645/0.4534, allocations: 67.94 kB / 1.319 GB, free: 6.699 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006331/0.454, allocations: 319.6 kB / 1.319 GB, free: 6.344 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.4543, allocations: 70.47 kB / 1.319 GB, free: 6.266 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.4544, allocations: 36.92 kB / 1.319 GB, free: 6.227 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.4544, allocations: 0 / 1.319 GB, free: 6.227 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.4545, allocations: 34.5 kB / 1.319 GB, free: 6.184 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.4545, allocations: 0 / 1.319 GB, free: 6.184 MB / 1.014 GB
Notification: Performance of matching and sorting (n=4): time 0.0005107/0.455, allocations: 121.6 kB / 1.319 GB, free: 6.059 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.455, allocations: 55.41 kB / 1.32 GB, free: 5.992 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.4552, allocations: 135.3 kB / 1.32 GB, free: 5.852 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.4552, allocations: 29.7 kB / 1.32 GB, free: 5.816 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.183e-05/0.4553, allocations: 100.1 kB / 1.32 GB, free: 5.715 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.4553, allocations: 15.78 kB / 1.32 GB, free: 5.699 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.4553, allocations: 17.72 kB / 1.32 GB, free: 5.676 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001609/0.4555, allocations: 326.8 kB / 1.32 GB, free: 5.348 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.4556, allocations: 35.97 kB / 1.32 GB, free: 5.312 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.4558, allocations: 27.97 kB / 1.32 GB, free: 5.285 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.456, allocations: 56.94 kB / 1.32 GB, free: 5.227 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.456, allocations: 4 kB / 1.32 GB, free: 5.223 MB / 1.014 GB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002891/0.4563, allocations: 97.59 kB / 1.32 GB, free: 5.121 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4563, allocations: 8 kB / 1.32 GB, free: 5.113 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.4563, allocations: 0 / 1.32 GB, free: 5.113 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.4563, allocations: 0 / 1.32 GB, free: 5.113 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.4564, allocations: 15.92 kB / 1.32 GB, free: 5.098 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.4565, allocations: 3.938 kB / 1.32 GB, free: 5.094 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.4566, allocations: 19.97 kB / 1.32 GB, free: 5.074 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.4566, allocations: 4 kB / 1.32 GB, free: 5.07 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 (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.0001108/0.4567, allocations: 118.4 kB / 1.32 GB, free: 4.945 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.4567, allocations: 7.953 kB / 1.321 GB, free: 4.938 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.732e-05/0.4568, allocations: 8.344 kB / 1.321 GB, free: 4.918 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.4568, allocations: 0 / 1.321 GB, free: 4.918 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4568, allocations: 4.125 kB / 1.321 GB, free: 4.914 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.4568, allocations: 0 / 1.321 GB, free: 4.914 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.457, allocations: 172.7 kB / 1.321 GB, free: 4.703 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.457, allocations: 0 / 1.321 GB, free: 4.703 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.791e-05/0.4571, allocations: 15.98 kB / 1.321 GB, free: 4.688 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4571, allocations: 0 / 1.321 GB, free: 4.688 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.4571, allocations: 0 / 1.321 GB, free: 4.688 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4571, allocations: 0 / 1.321 GB, free: 4.688 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/0.4571, allocations: 7.922 kB / 1.321 GB, free: 4.68 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.4575, allocations: 191.4 kB / 1.321 GB, free: 4.477 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.665e-05/0.4575, allocations: 11.95 kB / 1.321 GB, free: 4.465 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.4575, allocations: 64 / 1.321 GB, free: 4.465 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.4576, allocations: 23.97 kB / 1.321 GB, free: 4.441 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.4577, allocations: 11.92 kB / 1.321 GB, free: 4.43 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.4577, allocations: 4 kB / 1.321 GB, free: 4.426 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001588/0.4579, allocations: 105.5 kB / 1.321 GB, free: 4.324 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.4579, allocations: 3.938 kB / 1.321 GB, free: 4.32 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002232/0.4581, allocations: 12 kB / 1.321 GB, free: 4.309 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 (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.0001497/0.4582, allocations: 99.23 kB / 1.321 GB, free: 4.203 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003148/0.4586, allocations: 75.81 kB / 1.321 GB, free: 4.129 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4586, allocations: 0 / 1.321 GB, free: 4.129 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.4587, allocations: 27.97 kB / 1.321 GB, free: 4.102 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.459, allocations: 19.94 kB / 1.321 GB, free: 4.082 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.4595, allocations: 191.1 kB / 1.321 GB, free: 3.871 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.4598, allocations: 0.6924 MB / 1.322 GB, free: 3.152 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 4.953e-05/0.4599, allocations: 7.75 kB / 1.322 GB, free: 3.145 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.4599, allocations: 15.44 kB / 1.322 GB, free: 3.129 MB / 1.014 GB
Notification: Performance of SimCode: time 6.31e-07/0.4599, allocations: 0 / 1.322 GB, free: 3.129 MB / 1.014 GB
Notification: Performance of Templates: time 0.004391/0.4643, allocations: 1.049 MB / 1.323 GB, free: 2.09 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.392656265757978]