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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001316/0.001316, allocations: 103.6 kB / 16.35 MB, free: 5.824 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.001213/0.001213, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.547/1.547, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.621/2.621, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.86 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3705, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002689/0.3733, allocations: 0.8774 MB / 1.028 GB, free: 1.188 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.3749, allocations: 0.8934 MB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.375, allocations: 0 / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.3753, allocations: 19.86 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.551e-05/0.3753, allocations: 15.8 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.3756, allocations: 31.95 kB / 1.029 GB, free: 220 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000304/0.3759, allocations: 103.7 kB / 1.029 GB, free: 116 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.3761, allocations: 51.94 kB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.3763, allocations: 47.78 kB / 1.029 GB, free: 16 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.3766, allocations: 35.84 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/0.3766, allocations: 8 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.086e-05/0.3767, allocations: 8 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.3767, allocations: 19.92 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.472e-05/0.3768, allocations: 43.72 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.377, allocations: 95.66 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.377, allocations: 0 / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.893e-06/0.377, allocations: 0 / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.377, allocations: 0 / 1.029 GB, free: 15.81 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.00106/0.3781, allocations: 411.1 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.3782, allocations: 12.03 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.3782, allocations: 12.84 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.3786, allocations: 208 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.3786, allocations: 4.375 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.3786, allocations: 8.375 kB / 1.03 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.3789, allocations: 93.2 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.379, allocations: 192 / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.379, allocations: 3.938 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.379, allocations: 4 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002413/0.3792, allocations: 71.94 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007958/0.3801, allocations: 348.5 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.3803, allocations: 66.48 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.3805, allocations: 36.92 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.3805, allocations: 4 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.3805, allocations: 30.56 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.3805, allocations: 0 / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004895/0.381, allocations: 125.5 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.3811, allocations: 55.34 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.3813, allocations: 132.3 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3813, allocations: 33.64 kB / 1.031 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.3814, allocations: 107.9 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.3815, allocations: 15.83 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.3815, allocations: 17.72 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3817, allocations: 330.8 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.3818, allocations: 27.98 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.73e-05/0.3819, allocations: 27.97 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.3821, allocations: 56.8 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3821, allocations: 4 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002466/0.3824, allocations: 97.69 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.3824, allocations: 4 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.3824, allocations: 3.938 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.3824, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.3826, allocations: 11.98 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.3826, allocations: 7.922 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.3827, allocations: 23.98 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.3827, allocations: 0 / 1.031 GB, free: 13.24 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.0001159/0.3828, allocations: 117.8 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.3829, allocations: 7.906 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.3829, allocations: 16.23 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3829, allocations: 0 / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.3829, allocations: 3.938 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3829, allocations: 192 / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.3832, allocations: 193.6 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3832, allocations: 0 / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.772e-05/0.3832, allocations: 11.98 kB / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.3833, allocations: 3.984 kB / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3833, allocations: 0 / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3833, allocations: 0 / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3833, allocations: 3.938 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.3836, allocations: 195.3 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.3837, allocations: 85 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.3837, allocations: 4 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.3838, allocations: 11.98 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.433e-05/0.3839, allocations: 15.92 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.562e-05/0.384, allocations: 3.984 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.526e-05/0.3841, allocations: 109.5 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3841, allocations: 4 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002219/0.3843, allocations: 11.94 kB / 1.032 GB, free: 12.36 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 (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.0001939/0.3845, allocations: 103.2 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002771/0.3848, allocations: 67.88 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3848, allocations: 0 / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.3849, allocations: 39.97 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.3852, allocations: 16.12 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004952/0.3857, allocations: 183 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.3861, allocations: 0.6885 MB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.717e-05/0.3862, allocations: 8 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.3862, allocations: 19.42 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of SimCode: time 2.515e-06/0.3862, allocations: 0 / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of Templates: time 0.004096/0.3903, allocations: 1.012 MB / 1.034 GB, free: 10.17 MB / 0.8106 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 -s cvode -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/jenkins1/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