Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 390.3 MB / 405.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 176 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.2 MB / 0.7948 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009331/0.000933, allocations: 96.31 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003745, allocations: 10.25 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3203, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1928/0.5131, allocations: 153.4 MB / 1.373 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.5134, allocations: 79.91 kB / 1.373 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03088/0.5443, allocations: 11.16 MB / 1.384 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5443, allocations: 7.938 kB / 1.384 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.789e-05/0.5444, allocations: 4 kB / 1.384 GB, free: 13.45 MB / 0.8855 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.001295/0.5457, allocations: 0.6108 MB / 1.384 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.5458, allocations: 8.031 kB / 1.384 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.5459, allocations: 39.48 kB / 1.384 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008922/0.5468, allocations: 405.1 kB / 1.385 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.5469, allocations: 8 kB / 1.385 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/0.5469, allocations: 11.98 kB / 1.385 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.5472, allocations: 102.7 kB / 1.385 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.5472, allocations: 0 / 1.385 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.5472, allocations: 8 kB / 1.385 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.5472, allocations: 3.984 kB / 1.385 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.5474, allocations: 63.89 kB / 1.385 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009981/0.5484, allocations: 0.5121 MB / 1.385 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.5488, allocations: 142.7 kB / 1.386 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.5488, allocations: 3.984 kB / 1.386 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.5491, allocations: 115.3 kB / 1.386 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 2.014e-06/0.5491, allocations: 0 / 1.386 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0006192/0.5497, allocations: 229.3 kB / 1.386 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.5498, allocations: 51.41 kB / 1.386 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006805/0.5505, allocations: 492.8 kB / 1.386 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.5505, allocations: 25.7 kB / 1.386 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.5507, allocations: 172.3 kB / 1.387 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/0.5507, allocations: 39.55 kB / 1.387 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.5507, allocations: 4 kB / 1.387 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.5509, allocations: 346.8 kB / 1.387 GB, free: 9.898 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.5512, allocations: 120.5 kB / 1.387 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.5515, allocations: 151.6 kB / 1.387 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.5518, allocations: 133 kB / 1.387 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5518, allocations: 0 / 1.387 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006422/0.5524, allocations: 361 kB / 1.388 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.5524, allocations: 7.938 kB / 1.388 GB, free: 9.125 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.5525, allocations: 7.953 kB / 1.388 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.5525, allocations: 4.062 kB / 1.388 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.5527, allocations: 55.95 kB / 1.388 GB, free: 9.059 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.5528, allocations: 0 / 1.388 GB, free: 9.059 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.553, allocations: 31.77 kB / 1.388 GB, free: 9.027 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/0.553, allocations: 15.98 kB / 1.388 GB, free: 9.012 MB / 0.8855 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 () * Number of clocked 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.0002266/0.5533, allocations: 183.1 kB / 1.388 GB, free: 8.824 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/0.5533, allocations: 27.62 kB / 1.388 GB, free: 8.797 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004753/0.5538, allocations: 211.5 kB / 1.388 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.5538, allocations: 3.953 kB / 1.388 GB, free: 8.57 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5538, allocations: 0 / 1.388 GB, free: 8.57 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.5539, allocations: 4 kB / 1.388 GB, free: 8.566 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.5542, allocations: 313.3 kB / 1.388 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5542, allocations: 0 / 1.388 GB, free: 8.211 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.498e-05/0.5543, allocations: 23.92 kB / 1.388 GB, free: 8.188 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5543, allocations: 0 / 1.388 GB, free: 8.188 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.5543, allocations: 4 kB / 1.388 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5543, allocations: 0 / 1.388 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.5543, allocations: 7.953 kB / 1.389 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.5547, allocations: 220.6 kB / 1.389 GB, free: 7.941 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.5549, allocations: 116.7 kB / 1.389 GB, free: 7.809 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.5549, allocations: 4 kB / 1.389 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.5551, allocations: 11.98 kB / 1.389 GB, free: 7.793 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/0.5551, allocations: 23.92 kB / 1.389 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.5552, allocations: 12 kB / 1.389 GB, free: 7.758 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004067/0.5556, allocations: 319.1 kB / 1.389 GB, free: 7.449 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5556, allocations: 0 / 1.389 GB, free: 7.449 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003722/0.556, allocations: 75.84 kB / 1.389 GB, free: 7.375 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001103/0.5571, allocations: 446.1 kB / 1.39 GB, free: 7.094 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000468/0.5576, allocations: 199.8 kB / 1.39 GB, free: 6.898 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5576, allocations: 4.125 kB / 1.39 GB, free: 6.895 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.5577, allocations: 71.84 kB / 1.39 GB, free: 6.824 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.5582, allocations: 77.47 kB / 1.39 GB, free: 6.75 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.5592, allocations: 0.603 MB / 1.391 GB, free: 6.121 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.5597, allocations: 0.7991 MB / 1.391 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001811/0.5599, allocations: 50.94 kB / 1.391 GB, free: 5.242 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.01e-05/0.56, allocations: 31.42 kB / 1.391 GB, free: 5.211 MB / 0.8855 GB Notification: Performance of SimCode: time 6.01e-07/0.56, allocations: 3.938 kB / 1.391 GB, free: 5.207 MB / 0.8855 GB Notification: Performance of Templates: time 0.008903/0.5689, allocations: 3.954 MB / 1.395 GB, free: 1.289 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches