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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.007221/0.007222, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001423/0.001423, allocations: 196.4 kB / 16.68 MB, free: 6.352 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.873/2.873, allocations: 472.6 MB / 0.7453 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001964, allocations: 71.83 kB / 1.07 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3763, allocations: 159.9 MB / 1.226 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002256/0.3787, allocations: 0.8716 MB / 1.227 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.38, allocations: 0.8779 MB / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.3801, allocations: 7.938 kB / 1.227 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.3803, allocations: 7.875 kB / 1.227 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.328e-05/0.3803, allocations: 19.86 kB / 1.227 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.3806, allocations: 31.91 kB / 1.227 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.3807, allocations: 111.6 kB / 1.228 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.3809, allocations: 47.97 kB / 1.228 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.381, allocations: 35.86 kB / 1.228 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.933e-05/0.3811, allocations: 51.75 kB / 1.228 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.3812, allocations: 8 kB / 1.228 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.843e-05/0.3812, allocations: 8 kB / 1.228 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.022e-05/0.3812, allocations: 15.92 kB / 1.228 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.821e-05/0.3813, allocations: 39.73 kB / 1.228 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.3815, allocations: 99.58 kB / 1.228 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3815, allocations: 4 kB / 1.228 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3815, allocations: 0 / 1.228 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.3815, allocations: 0 / 1.228 GB, free: 6.926 MB / 0.9825 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.0006968/0.3822, allocations: 416.4 kB / 1.228 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3822, allocations: 8.031 kB / 1.228 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.3823, allocations: 8.891 kB / 1.228 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.3826, allocations: 216 kB / 1.228 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.3826, allocations: 4.375 kB / 1.228 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.3826, allocations: 12.31 kB / 1.228 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.3829, allocations: 94.2 kB / 1.229 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3829, allocations: 192 / 1.229 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.3829, allocations: 7.938 kB / 1.229 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3829, allocations: 0 / 1.229 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.3832, allocations: 67.94 kB / 1.229 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005629/0.3837, allocations: 352.6 kB / 1.229 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.384, allocations: 66.48 kB / 1.229 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.3841, allocations: 32.92 kB / 1.229 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.3841, allocations: 4 kB / 1.229 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.3842, allocations: 34.56 kB / 1.229 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.3842, allocations: 4 kB / 1.229 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004393/0.3846, allocations: 109.6 kB / 1.229 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.3847, allocations: 51.41 kB / 1.229 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.3848, allocations: 147.4 kB / 1.229 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3848, allocations: 25.7 kB / 1.229 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.043e-05/0.3849, allocations: 104 kB / 1.23 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.3849, allocations: 15.89 kB / 1.23 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.385, allocations: 25.7 kB / 1.23 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3851, allocations: 318.8 kB / 1.23 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.3852, allocations: 27.98 kB / 1.23 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.3854, allocations: 31.97 kB / 1.23 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.3856, allocations: 60.81 kB / 1.23 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3856, allocations: 0 / 1.23 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002521/0.3858, allocations: 93.78 kB / 1.23 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3859, allocations: 10.34 kB / 1.23 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.3859, allocations: 8 kB / 1.23 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3859, allocations: 0 / 1.23 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.386, allocations: 16.11 kB / 1.23 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.386, allocations: 3.938 kB / 1.23 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.3861, allocations: 19.92 kB / 1.23 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.3861, allocations: 4 kB / 1.23 GB, free: 4.352 MB / 0.9825 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.029e-05/0.3862, allocations: 113.8 kB / 1.23 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.3863, allocations: 15.94 kB / 1.23 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.3863, allocations: 12.23 kB / 1.23 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3863, allocations: 0 / 1.23 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.3863, allocations: 3.938 kB / 1.23 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3863, allocations: 4 kB / 1.23 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.3865, allocations: 189.6 kB / 1.23 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3865, allocations: 0 / 1.23 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.799e-05/0.3866, allocations: 11.98 kB / 1.23 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3866, allocations: 0 / 1.23 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.3866, allocations: 3.938 kB / 1.23 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3867, allocations: 4 kB / 1.23 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3867, allocations: 3.938 kB / 1.23 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.387, allocations: 187.4 kB / 1.231 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.387, allocations: 85.06 kB / 1.231 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.387, allocations: 3.984 kB / 1.231 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.3872, allocations: 15.98 kB / 1.231 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.3872, allocations: 15.92 kB / 1.231 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.3873, allocations: 4 kB / 1.231 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.208e-05/0.3873, allocations: 103.2 kB / 1.231 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.593e-06/0.3873, allocations: 0 / 1.231 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002244/0.3876, allocations: 19.88 kB / 1.231 GB, free: 3.469 MB / 0.9825 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.0001709/0.3877, allocations: 99.23 kB / 1.231 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000287/0.388, allocations: 75.94 kB / 1.231 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.388, allocations: 3.938 kB / 1.231 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.3882, allocations: 31.97 kB / 1.231 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.3885, allocations: 12.06 kB / 1.231 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.3889, allocations: 199 kB / 1.231 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.3892, allocations: 0.6924 MB / 1.232 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.382e-05/0.3893, allocations: 4 kB / 1.232 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.3893, allocations: 15.42 kB / 1.232 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3893, allocations: 4 kB / 1.232 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of Templates: time 0.003595/0.3929, allocations: 1.016 MB / 1.233 GB, free: 1.273 MB / 0.9825 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