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.001357/0.001357, allocations: 90.98 kB / 15.36 MB, free: 0.7344 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.01329/0.01329, allocations: 170.1 kB / 16.26 MB, free: 6.68 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.508/1.508, allocations: 223.3 MB / 240.3 MB, free: 5.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.813/2.813, allocations: 462.7 MB / 0.7364 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003824, allocations: 12.58 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.385, allocations: 159.6 MB / 1.059 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001255/0.3863, allocations: 0.539 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.3875, allocations: 0.8702 MB / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.3877, allocations: 0 / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.3878, allocations: 11.88 kB / 1.06 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.847e-05/0.3879, allocations: 15.91 kB / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.3881, allocations: 23.98 kB / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.3882, allocations: 71.78 kB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.3884, allocations: 35.83 kB / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.771e-05/0.3885, allocations: 27.84 kB / 1.06 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.34e-05/0.3886, allocations: 23.86 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.3886, allocations: 0 / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.387e-05/0.3886, allocations: 4 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.589e-05/0.3886, allocations: 3.938 kB / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.855e-05/0.3887, allocations: 53.44 kB / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.3888, allocations: 72.02 kB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3889, allocations: 0 / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3889, allocations: 0 / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.3889, allocations: 0 / 1.06 GB, free: 3.652 MB / 0.8106 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.0005945/0.3895, allocations: 384.5 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.3895, allocations: 8.031 kB / 1.061 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.3896, allocations: 8.844 kB / 1.061 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.3898, allocations: 204.1 kB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.3899, allocations: 384 / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.3899, allocations: 12.38 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.3901, allocations: 70.11 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3901, allocations: 192 / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.3901, allocations: 7.875 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.3901, allocations: 0 / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.3903, allocations: 39.97 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006858/0.3909, allocations: 324.7 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.3911, allocations: 58.61 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/0.3912, allocations: 16.86 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.3912, allocations: 96 / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.3913, allocations: 34.55 kB / 1.062 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.3913, allocations: 0 / 1.062 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000349/0.3916, allocations: 85.61 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.3917, allocations: 51.41 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.3918, allocations: 139.5 kB / 1.062 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.3919, allocations: 25.7 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.267e-05/0.392, allocations: 100.1 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.392, allocations: 7.906 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.392, allocations: 13.72 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3922, allocations: 326.8 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.433e-05/0.3922, allocations: 16 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.777e-05/0.3923, allocations: 15.98 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.222e-05/0.3924, allocations: 37.11 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3924, allocations: 3.938 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001447/0.3926, allocations: 73.58 kB / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3926, allocations: 8 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3926, allocations: 0 / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3926, allocations: 0 / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-05/0.3927, allocations: 4 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3927, allocations: 0 / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.814e-05/0.3928, allocations: 15.98 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.3928, allocations: 8 kB / 1.062 GB, free: 1.371 MB / 0.8106 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.0001198/0.3929, allocations: 123.3 kB / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.393, allocations: 3.906 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/0.393, allocations: 12.25 kB / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.393, allocations: 0 / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.393, allocations: 0 / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3931, allocations: 0 / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.3933, allocations: 185.6 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3933, allocations: 7.875 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.3934, allocations: 15.92 kB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3934, allocations: 0 / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.3934, allocations: 4 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3934, allocations: 0 / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3934, allocations: 0 / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.3937, allocations: 167.4 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.3937, allocations: 85.02 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.3937, allocations: 0 / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3938, allocations: 11.98 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.3939, allocations: 7.984 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.3939, allocations: 4 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.981e-05/0.394, allocations: 104.5 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.394, allocations: 0 / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002204/0.3942, allocations: 19.94 kB / 1.063 GB, free: 0.5391 MB / 0.8106 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.0002092/0.3945, allocations: 103.2 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001933/0.3947, allocations: 35.98 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3947, allocations: 0 / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.644e-05/0.3947, allocations: 19.98 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.3951, allocations: 15.94 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.3955, allocations: 196.4 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.3959, allocations: 0.6926 MB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.218e-05/0.396, allocations: 4.281 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.396, allocations: 7.438 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.396, allocations: 0 / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of Templates: time 0.00346/0.3995, allocations: 0.7199 MB / 1.065 GB, free: 14.7 MB / 0.8262 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