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.162/2.162, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.0009933/0.0009932, allocations: 168.1 kB / 492.3 MB, free: 0.6133 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.484/1.484, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0009217/0.0009217, allocations: 89.03 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.256e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3021, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.062/1.365, allocations: 153.3 MB / 1.362 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/1.365, allocations: 85.67 kB / 1.362 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02676/1.392, allocations: 11.14 MB / 1.373 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.074e-06/1.392, allocations: 3.938 kB / 1.373 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.007e-05/1.392, allocations: 7.875 kB / 1.373 GB, free: 34.13 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.000717/1.393, allocations: 0.5281 MB / 1.374 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.393, allocations: 7.719 kB / 1.374 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.207e-05/1.393, allocations: 31.06 kB / 1.374 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006634/1.393, allocations: 400.5 kB / 1.374 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/1.393, allocations: 7.188 kB / 1.374 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/1.393, allocations: 7.062 kB / 1.374 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/1.394, allocations: 110 kB / 1.374 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.394, allocations: 0 / 1.374 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/1.394, allocations: 4 kB / 1.374 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.394, allocations: 0 / 1.374 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/1.394, allocations: 60.73 kB / 1.374 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008003/1.395, allocations: 0.5157 MB / 1.375 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/1.395, allocations: 142.6 kB / 1.375 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.088e-05/1.395, allocations: 47.42 kB / 1.375 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/1.395, allocations: 3.312 kB / 1.375 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00018/1.395, allocations: 107.6 kB / 1.375 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/1.395, allocations: 0 / 1.375 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0003195/1.395, allocations: 179.5 kB / 1.375 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/1.395, allocations: 66.02 kB / 1.375 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005326/1.396, allocations: 463.2 kB / 1.376 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/1.396, allocations: 33.42 kB / 1.376 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/1.396, allocations: 166.1 kB / 1.376 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/1.396, allocations: 37.66 kB / 1.376 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/1.396, allocations: 6.812 kB / 1.376 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.396, allocations: 347.3 kB / 1.376 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/1.397, allocations: 115.5 kB / 1.376 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/1.397, allocations: 146.9 kB / 1.376 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/1.397, allocations: 124.8 kB / 1.377 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.397, allocations: 224 / 1.377 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004518/1.397, allocations: 350.5 kB / 1.377 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/1.397, allocations: 7.781 kB / 1.377 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.397, allocations: 4.062 kB / 1.377 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/1.397, allocations: 7.797 kB / 1.377 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/1.398, allocations: 57.89 kB / 1.377 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/1.398, allocations: 0 / 1.377 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/1.398, allocations: 25.53 kB / 1.377 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/1.398, allocations: 17.42 kB / 1.377 GB, free: 32.22 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 0.0001162/1.398, allocations: 128.1 kB / 1.377 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/1.398, allocations: 31 kB / 1.377 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003472/1.398, allocations: 204.1 kB / 1.377 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.398, allocations: 7.922 kB / 1.377 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.398, allocations: 0 / 1.377 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/1.398, allocations: 0 / 1.377 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/1.399, allocations: 308.2 kB / 1.378 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.399, allocations: 0 / 1.378 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.129e-05/1.399, allocations: 14.56 kB / 1.378 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/1.399, allocations: 3.75 kB / 1.378 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/1.399, allocations: 5.984 kB / 1.378 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.399, allocations: 4 kB / 1.378 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.399, allocations: 3.953 kB / 1.378 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/1.399, allocations: 216.8 kB / 1.378 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/1.399, allocations: 120.7 kB / 1.378 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/1.399, allocations: 0 / 1.378 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/1.399, allocations: 13.84 kB / 1.378 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.813e-05/1.4, allocations: 17.25 kB / 1.378 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/1.4, allocations: 17.2 kB / 1.378 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003209/1.4, allocations: 313.3 kB / 1.378 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.4, allocations: 0 / 1.378 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003086/1.4, allocations: 76.3 kB / 1.378 GB, free: 31.52 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.0009214/1.401, allocations: 400.5 kB / 1.379 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002889/1.401, allocations: 188.4 kB / 1.379 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/1.401, allocations: 0 / 1.379 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/1.402, allocations: 74.23 kB / 1.379 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/1.402, allocations: 74.09 kB / 1.379 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000656/1.403, allocations: 431.1 kB / 1.38 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/1.403, allocations: 0.7986 MB / 1.38 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001459/1.403, allocations: 57.98 kB / 1.38 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/1.403, allocations: 34.31 kB / 1.38 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.403, allocations: 0 / 1.38 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of Templates: time 0.00773/1.411, allocations: 3.955 MB / 1.384 GB, free: 28.77 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