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.008782/0.008782, allocations: 100.4 kB / 15.73 MB, free: 6.043 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.00172/0.00172, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.923/2.923, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 59.91 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3686, allocations: 157.4 MB / 1.208 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002409/0.3711, allocations: 0.8675 MB / 1.209 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.3723, allocations: 0.8857 MB / 1.209 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.3725, allocations: 7.938 kB / 1.209 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.3726, allocations: 11.81 kB / 1.21 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.679e-05/0.3727, allocations: 11.86 kB / 1.21 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.3729, allocations: 35.91 kB / 1.21 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.3731, allocations: 103.7 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.3733, allocations: 55.95 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.3734, allocations: 43.86 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.996e-05/0.3735, allocations: 47.81 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.3735, allocations: 4 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.411e-05/0.3735, allocations: 8 kB / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.979e-05/0.3736, allocations: 15.94 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.207e-05/0.3736, allocations: 39.73 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.3738, allocations: 103.6 kB / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3738, allocations: 0 / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3738, allocations: 0 / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.3738, allocations: 0 / 1.21 GB, free: 7.414 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000823/0.3747, allocations: 415.1 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3747, allocations: 8.625 kB / 1.21 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.3747, allocations: 12.75 kB / 1.21 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.375, allocations: 201.8 kB / 1.211 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.375, allocations: 4.375 kB / 1.211 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.375, allocations: 12.36 kB / 1.211 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.3753, allocations: 98.14 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3753, allocations: 192 / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.3753, allocations: 3.938 kB / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3753, allocations: 0 / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.3756, allocations: 71.94 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.3761, allocations: 352.4 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.3764, allocations: 66.53 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.3765, allocations: 36.92 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.3765, allocations: 0 / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.3766, allocations: 34.56 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3766, allocations: 0 / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004824/0.3771, allocations: 117.5 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.3771, allocations: 55.41 kB / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3772, allocations: 139.4 kB / 1.212 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.3773, allocations: 33.7 kB / 1.212 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.3773, allocations: 104 kB / 1.212 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.3773, allocations: 7.844 kB / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.3774, allocations: 25.7 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3775, allocations: 318.8 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.3776, allocations: 31.91 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.3778, allocations: 35.97 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.378, allocations: 56.75 kB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.378, allocations: 3.938 kB / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002553/0.3782, allocations: 97.55 kB / 1.212 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3783, allocations: 8 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3783, allocations: 0 / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3783, allocations: 4 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.3784, allocations: 11.98 kB / 1.212 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3784, allocations: 3.938 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.3785, allocations: 19.97 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.3786, allocations: 4 kB / 1.212 GB, free: 4.844 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 (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 9.685e-05/0.3787, allocations: 118 kB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.3787, allocations: 3.906 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.3787, allocations: 20.19 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3787, allocations: 0 / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3788, allocations: 7.922 kB / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3788, allocations: 0 / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.379, allocations: 181.6 kB / 1.213 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.379, allocations: 4 kB / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.661e-05/0.379, allocations: 11.98 kB / 1.213 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/0.3791, allocations: 7.984 kB / 1.213 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3791, allocations: 0 / 1.213 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3791, allocations: 0 / 1.213 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.3791, allocations: 7.938 kB / 1.213 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.3794, allocations: 179.4 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.3795, allocations: 89.25 kB / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.3795, allocations: 0 / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.3796, allocations: 19.97 kB / 1.213 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.3797, allocations: 19.91 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-06/0.3797, allocations: 7.938 kB / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.961e-05/0.3798, allocations: 96.52 kB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3798, allocations: 0 / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002337/0.38, allocations: 23.84 kB / 1.213 GB, free: 3.965 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 (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.0001641/0.3802, allocations: 99.23 kB / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002905/0.3805, allocations: 71.94 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3805, allocations: 0 / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.3806, allocations: 39.91 kB / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.3809, allocations: 4 kB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.3813, allocations: 199 kB / 1.213 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.3816, allocations: 0.6978 MB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.268e-05/0.3817, allocations: 4 kB / 1.214 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/0.3817, allocations: 11.44 kB / 1.214 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.3817, allocations: 0 / 1.214 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of Templates: time 0.003262/0.385, allocations: 1.024 MB / 1.215 GB, free: 1.77 MB / 0.9669 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