Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.46/1.46, allocations: 249.5 MB / 257 MB, free: 6.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001163, allocations: 164.9 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000819/0.0008191, allocations: 80.52 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.929e-05/1.942e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2312, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7455/0.9767, allocations: 135.5 MB / 1.018 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.9771, allocations: 81.62 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0294/1.007, allocations: 10.51 MB / 1.028 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.853e-06/1.007, allocations: 0 / 1.028 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.698e-05/1.007, allocations: 8 kB / 1.028 GB, free: 9.449 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008668/1.007, allocations: 0.5216 MB / 1.028 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/1.008, allocations: 12.03 kB / 1.028 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.052e-05/1.008, allocations: 31.53 kB / 1.028 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006443/1.008, allocations: 375.1 kB / 1.029 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/1.008, allocations: 7.188 kB / 1.029 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/1.008, allocations: 4 kB / 1.029 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001487/1.008, allocations: 61.59 kB / 1.029 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/1.009, allocations: 98.17 kB / 1.029 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.009, allocations: 3.984 kB / 1.029 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/1.009, allocations: 3.984 kB / 1.029 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/1.009, allocations: 4 kB / 1.029 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007283/1.009, allocations: 473.5 kB / 1.029 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/1.01, allocations: 121.8 kB / 1.03 GB, free: 7.824 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.559e-05/1.01, allocations: 44.28 kB / 1.03 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/1.01, allocations: 3.984 kB / 1.03 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/1.01, allocations: 117.9 kB / 1.03 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/1.01, allocations: 0 / 1.03 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0003355/1.01, allocations: 166 kB / 1.03 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/1.01, allocations: 55.41 kB / 1.03 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004895/1.011, allocations: 447.1 kB / 1.03 GB, free: 7.129 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/1.011, allocations: 25.7 kB / 1.03 GB, free: 7.098 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/1.011, allocations: 159.8 kB / 1.031 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/1.011, allocations: 38.48 kB / 1.031 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.769e-05/1.011, allocations: 4 kB / 1.031 GB, free: 6.949 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.011, allocations: 347.5 kB / 1.031 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/1.011, allocations: 106.8 kB / 1.031 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/1.012, allocations: 139.6 kB / 1.031 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/1.012, allocations: 111.9 kB / 1.031 GB, free: 6.363 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.012, allocations: 0 / 1.031 GB, free: 6.363 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004565/1.012, allocations: 345.2 kB / 1.032 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.012, allocations: 4 kB / 1.032 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.012, allocations: 7.984 kB / 1.032 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/1.012, allocations: 4 kB / 1.032 GB, free: 6.078 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/1.013, allocations: 47.97 kB / 1.032 GB, free: 6.031 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/1.013, allocations: 4.156 kB / 1.032 GB, free: 6.027 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/1.013, allocations: 23.73 kB / 1.032 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.363e-05/1.013, allocations: 19.55 kB / 1.032 GB, free: 5.988 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001031/1.013, allocations: 112.9 kB / 1.032 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/1.013, allocations: 35.56 kB / 1.032 GB, free: 5.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/1.013, allocations: 177.8 kB / 1.032 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/1.013, allocations: 4 kB / 1.032 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/1.013, allocations: 3.984 kB / 1.032 GB, free: 5.68 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/1.013, allocations: 0 / 1.032 GB, free: 5.68 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/1.014, allocations: 278.8 kB / 1.032 GB, free: 5.414 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.014, allocations: 0 / 1.032 GB, free: 5.414 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.972e-05/1.014, allocations: 15.98 kB / 1.032 GB, free: 5.398 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/1.014, allocations: 4 kB / 1.032 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/1.014, allocations: 7.984 kB / 1.032 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/1.014, allocations: 0 / 1.032 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.014, allocations: 0 / 1.032 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/1.014, allocations: 209.2 kB / 1.033 GB, free: 5.195 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.582e-05/1.014, allocations: 119.3 kB / 1.033 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/1.014, allocations: 0 / 1.033 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/1.014, allocations: 11.98 kB / 1.033 GB, free: 5.055 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/1.014, allocations: 18.36 kB / 1.033 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/1.014, allocations: 11.98 kB / 1.033 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002837/1.015, allocations: 283.6 kB / 1.033 GB, free: 4.816 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.31e-07/1.015, allocations: 0 / 1.033 GB, free: 4.816 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002988/1.015, allocations: 67.11 kB / 1.033 GB, free: 4.754 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008548/1.016, allocations: 368.8 kB / 1.033 GB, free: 4.473 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002863/1.016, allocations: 183 kB / 1.034 GB, free: 4.348 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.016, allocations: 0 / 1.034 GB, free: 4.348 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.843e-05/1.016, allocations: 65.34 kB / 1.034 GB, free: 4.301 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/1.017, allocations: 76.09 kB / 1.034 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007348/1.017, allocations: 421 kB / 1.034 GB, free: 3.867 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/1.018, allocations: 0.7931 MB / 1.035 GB, free: 3.055 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001632/1.018, allocations: 59.25 kB / 1.035 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.951e-05/1.018, allocations: 34.86 kB / 1.035 GB, free: 2.969 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/1.018, allocations: 0 / 1.035 GB, free: 2.969 MB / 0.6511 GB Notification: Performance of Templates: time 0.007324/1.026, allocations: 3.495 MB / 1.038 GB, free: 15.51 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches