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) 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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009264/0.0009265, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008673/0.008674, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.55/1.55, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.053/3.053, allocations: 462.7 MB / 0.7364 GB, free: 260 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003651, allocations: 11.77 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3798, allocations: 159.6 MB / 1.059 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.00135/0.3813, allocations: 0.5857 MB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3825, allocations: 0.8858 MB / 1.06 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.427e-05/0.3826, allocations: 0 / 1.06 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.3827, allocations: 15.86 kB / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.306e-05/0.3828, allocations: 11.92 kB / 1.06 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.383, allocations: 31.97 kB / 1.06 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.3831, allocations: 99.61 kB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.3833, allocations: 47.91 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.3834, allocations: 35.78 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.949e-05/0.3835, allocations: 31.84 kB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.3835, allocations: 3.938 kB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.3835, allocations: 4 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.407e-05/0.3836, allocations: 7.938 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.254e-05/0.3836, allocations: 57.44 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.3838, allocations: 91.69 kB / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3838, allocations: 0 / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3838, allocations: 0 / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.3838, allocations: 0 / 1.061 GB, free: 3.512 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007311/0.3845, allocations: 411.5 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.3846, allocations: 12.03 kB / 1.061 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.3846, allocations: 8.844 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.3849, allocations: 208.8 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.3849, allocations: 4.375 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.385, allocations: 16.3 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.3852, allocations: 98.2 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3853, allocations: 4.188 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.3853, allocations: 3.938 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3853, allocations: 0 / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.3856, allocations: 83.94 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006768/0.3863, allocations: 360.5 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.3865, allocations: 70.55 kB / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.3867, allocations: 48.92 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.3867, allocations: 0 / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.3867, allocations: 34.5 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3867, allocations: 0 / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000493/0.3872, allocations: 141.5 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.3873, allocations: 51.41 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.3874, allocations: 147.9 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.3874, allocations: 25.7 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.3875, allocations: 104 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.3875, allocations: 11.83 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.3876, allocations: 17.7 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3877, allocations: 314.8 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.3878, allocations: 43.97 kB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.388, allocations: 35.97 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.3882, allocations: 76.75 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3882, allocations: 0 / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002996/0.3885, allocations: 117.5 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3885, allocations: 4 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3885, allocations: 0 / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.3886, allocations: 0 / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.3887, allocations: 15.98 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.3887, allocations: 7.875 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.3889, allocations: 27.97 kB / 1.063 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.3889, allocations: 0 / 1.063 GB, free: 0.832 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 (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.0001361/0.389, allocations: 121.8 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.3891, allocations: 3.906 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.489e-05/0.3891, allocations: 16.19 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3891, allocations: 0 / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.3891, allocations: 3.938 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.3891, allocations: 3.984 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.3894, allocations: 189.6 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3894, allocations: 192 / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.514e-05/0.3895, allocations: 19.98 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3895, allocations: 0 / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3895, allocations: 3.984 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3895, allocations: 4 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3895, allocations: 3.938 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.3899, allocations: 199.6 kB / 1.063 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.39, allocations: 85.06 kB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.39, allocations: 7.922 kB / 1.064 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.3902, allocations: 27.97 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/0.3903, allocations: 15.92 kB / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.3903, allocations: 0 / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001226/0.3904, allocations: 108.7 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3904, allocations: 0 / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002296/0.3907, allocations: 11.94 kB / 1.064 GB, free: 15.93 MB / 0.8262 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.0002263/0.3909, allocations: 103.2 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003293/0.3912, allocations: 79.94 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3913, allocations: 4 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.3914, allocations: 43.91 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.3918, allocations: 8 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/0.3923, allocations: 216.9 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.3927, allocations: 0.6965 MB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.233e-05/0.3928, allocations: 8 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.3928, allocations: 15.42 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.3928, allocations: 0 / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of Templates: time 0.003927/0.3968, allocations: 0.843 MB / 1.066 GB, free: 13.86 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) 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) Reference file matches