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.381/2.381, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001116/0.001116, allocations: 176.9 kB / 487.4 MB, free: 5.043 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.483/1.483, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009503/0.0009504, allocations: 91.84 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.109e-05/2.112e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3253, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.074/1.399, allocations: 152.6 MB / 1.355 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/1.4, allocations: 83.73 kB / 1.355 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02654/1.426, allocations: 11.05 MB / 1.366 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.032e-06/1.426, allocations: 0 / 1.366 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.493e-05/1.426, allocations: 3.781 kB / 1.366 GB, free: 33.5 MB / 0.8386 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.0006896/1.427, allocations: 0.5329 MB / 1.366 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/1.427, allocations: 8.219 kB / 1.366 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.403e-05/1.427, allocations: 37.38 kB / 1.366 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00062/1.428, allocations: 401.2 kB / 1.367 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/1.428, allocations: 7.25 kB / 1.367 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/1.428, allocations: 3.625 kB / 1.367 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001244/1.428, allocations: 53.3 kB / 1.367 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/1.428, allocations: 103.5 kB / 1.367 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.547e-06/1.428, allocations: 0 / 1.367 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/1.428, allocations: 6.703 kB / 1.367 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/1.428, allocations: 0 / 1.367 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007559/1.429, allocations: 0.4886 MB / 1.367 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/1.429, allocations: 121.9 kB / 1.368 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.502e-05/1.429, allocations: 48.94 kB / 1.368 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/1.429, allocations: 0 / 1.368 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001606/1.43, allocations: 104.9 kB / 1.368 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/1.43, allocations: 0 / 1.368 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0003118/1.43, allocations: 173.1 kB / 1.368 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/1.43, allocations: 55.28 kB / 1.368 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004569/1.43, allocations: 455.3 kB / 1.368 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/1.43, allocations: 29.55 kB / 1.368 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/1.431, allocations: 172.5 kB / 1.369 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/1.431, allocations: 30.08 kB / 1.369 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/1.431, allocations: 0 / 1.369 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.431, allocations: 348.2 kB / 1.369 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/1.431, allocations: 104.3 kB / 1.369 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/1.431, allocations: 145.3 kB / 1.369 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/1.431, allocations: 138.6 kB / 1.369 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.431, allocations: 0 / 1.369 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005056/1.432, allocations: 355.7 kB / 1.37 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/1.432, allocations: 3.812 kB / 1.37 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/1.432, allocations: 3.938 kB / 1.37 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/1.432, allocations: 3.656 kB / 1.37 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/1.432, allocations: 50.73 kB / 1.37 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/1.432, allocations: 8.016 kB / 1.37 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/1.432, allocations: 22.14 kB / 1.37 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/1.432, allocations: 17.66 kB / 1.37 GB, free: 31.61 MB / 0.8386 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 9.801e-05/1.432, allocations: 115.7 kB / 1.37 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/1.432, allocations: 34 kB / 1.37 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/1.433, allocations: 191.1 kB / 1.37 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/1.433, allocations: 0 / 1.37 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.433, allocations: 4 kB / 1.37 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.433, allocations: 3.953 kB / 1.37 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/1.433, allocations: 279 kB / 1.37 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.433, allocations: 3.688 kB / 1.37 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.16e-05/1.433, allocations: 16.56 kB / 1.37 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/1.433, allocations: 0 / 1.37 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/1.433, allocations: 0 / 1.37 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.433, allocations: 3.719 kB / 1.37 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.433, allocations: 0 / 1.37 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/1.433, allocations: 210.6 kB / 1.371 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.861e-05/1.434, allocations: 121.1 kB / 1.371 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/1.434, allocations: 3.938 kB / 1.371 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/1.434, allocations: 18.22 kB / 1.371 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/1.434, allocations: 22.34 kB / 1.371 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/1.434, allocations: 3.875 kB / 1.371 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003049/1.434, allocations: 301 kB / 1.371 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.01e-07/1.434, allocations: 0 / 1.371 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003633/1.434, allocations: 76.14 kB / 1.371 GB, free: 30.96 MB / 0.8386 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.0008404/1.435, allocations: 357.5 kB / 1.371 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002747/1.436, allocations: 187.8 kB / 1.372 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.436, allocations: 0 / 1.372 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.071e-05/1.436, allocations: 62.36 kB / 1.372 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/1.436, allocations: 82.89 kB / 1.372 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006601/1.437, allocations: 425 kB / 1.372 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/1.437, allocations: 0.8009 MB / 1.373 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001612/1.437, allocations: 55.52 kB / 1.373 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/1.437, allocations: 33.67 kB / 1.373 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.437, allocations: 3.906 kB / 1.373 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of Templates: time 0.007048/1.445, allocations: 3.682 MB / 1.377 GB, free: 29.46 MB / 0.8386 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