Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007897/0.007904, allocations: 103.9 kB / 15.73 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 196.9 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.916/2.916, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 71.89 kB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3648, allocations: 157.4 MB / 1.208 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002142/0.367, allocations: 0.8243 MB / 1.209 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3682, allocations: 0.8662 MB / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.3683, allocations: 4 kB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.3684, allocations: 15.81 kB / 1.209 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.334e-05/0.3685, allocations: 7.938 kB / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.3687, allocations: 23.91 kB / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.3688, allocations: 71.78 kB / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.369, allocations: 43.95 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.559e-05/0.3691, allocations: 39.73 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.3692, allocations: 27.84 kB / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.3692, allocations: 4 kB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.3692, allocations: 8 kB / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.3692, allocations: 19.92 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.3693, allocations: 31.8 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.3694, allocations: 67.75 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3694, allocations: 3.938 kB / 1.21 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3694, allocations: 4 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.3695, allocations: 0 / 1.21 GB, free: 7.508 MB / 0.9669 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.0006045/0.3701, allocations: 395.1 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3701, allocations: 8.031 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.3702, allocations: 12.84 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.3705, allocations: 201.7 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.3705, allocations: 4.312 kB / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.3705, allocations: 8.375 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.3707, allocations: 66.16 kB / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3707, allocations: 192 / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.3707, allocations: 7.938 kB / 1.21 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3707, allocations: 0 / 1.21 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.3708, allocations: 35.98 kB / 1.211 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.3713, allocations: 316.6 kB / 1.211 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.3715, allocations: 46.56 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.558e-05/0.3716, allocations: 25 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.3716, allocations: 0 / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.3716, allocations: 30.56 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3716, allocations: 0 / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002577/0.3719, allocations: 73.7 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.372, allocations: 51.41 kB / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.3721, allocations: 135.5 kB / 1.211 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3721, allocations: 37.7 kB / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.3722, allocations: 96.06 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.3722, allocations: 11.89 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.3722, allocations: 21.7 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3724, allocations: 314.8 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.149e-05/0.3724, allocations: 15.98 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.619e-05/0.3725, allocations: 23.92 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.281e-05/0.3726, allocations: 33.12 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3726, allocations: 0 / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001397/0.3727, allocations: 69.52 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3727, allocations: 8 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3727, allocations: 3.984 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3728, allocations: 4 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.027e-05/0.3728, allocations: 7.984 kB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3728, allocations: 0 / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.191e-05/0.3729, allocations: 7.984 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.373, allocations: 8 kB / 1.212 GB, free: 5.246 MB / 0.9669 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 8.179e-05/0.373, allocations: 117.8 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.3731, allocations: 7.906 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.3731, allocations: 8.25 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3731, allocations: 7.922 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3731, allocations: 0 / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3731, allocations: 0 / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.3733, allocations: 185.6 kB / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3733, allocations: 0 / 1.212 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.223e-05/0.3734, allocations: 11.94 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3734, allocations: 0 / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.3734, allocations: 0 / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3734, allocations: 0 / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3734, allocations: 0 / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.3736, allocations: 163.4 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.3736, allocations: 89 kB / 1.212 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.3737, allocations: 4 kB / 1.212 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3738, allocations: 11.98 kB / 1.212 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.3738, allocations: 7.984 kB / 1.212 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.331e-06/0.3738, allocations: 4 kB / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.911e-05/0.3739, allocations: 100.5 kB / 1.212 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3739, allocations: 0 / 1.212 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000222/0.3741, allocations: 11.94 kB / 1.212 GB, free: 4.434 MB / 0.9669 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.0001749/0.3743, allocations: 107.2 kB / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001628/0.3745, allocations: 39.97 kB / 1.213 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3745, allocations: 0 / 1.213 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.69e-05/0.3746, allocations: 15.98 kB / 1.213 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.3748, allocations: 14 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/0.3753, allocations: 170.4 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.3757, allocations: 0.6963 MB / 1.213 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.107e-05/0.3757, allocations: 3.938 kB / 1.213 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.3758, allocations: 11.44 kB / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.3758, allocations: 0 / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of Templates: time 0.003417/0.3792, allocations: 0.8521 MB / 1.214 GB, free: 2.477 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches