Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001698/0.001699, allocations: 104.8 kB / 16.27 MB, free: 5.98 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.001778/0.001778, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.435/1.435, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.874/2.874, allocations: 469.8 MB / 0.743 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 78.62 kB / 0.9092 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3559, allocations: 159.1 MB / 1.065 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003689/0.3597, allocations: 1.991 MB / 1.067 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002158/0.3619, allocations: 1.2 MB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.362, allocations: 3.938 kB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004533/0.3625, allocations: 159.4 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003801/0.3629, allocations: 155.4 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.3635, allocations: 222.5 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003896/0.3639, allocations: 311.2 kB / 1.069 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.3641, allocations: 44.38 kB / 1.069 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.3643, allocations: 151.3 kB / 1.069 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.3645, allocations: 143.5 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.3645, allocations: 16 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.3647, allocations: 55.98 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.3648, allocations: 91.66 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.365, allocations: 123.2 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.3654, allocations: 363 kB / 1.07 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3654, allocations: 4 kB / 1.07 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.547e-06/0.3654, allocations: 0 / 1.07 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.3654, allocations: 3.938 kB / 1.07 GB, free: 9.73 MB / 0.8419 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.001081/0.3665, allocations: 0.6146 MB / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3666, allocations: 12.03 kB / 1.07 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.846e-05/0.3667, allocations: 36.56 kB / 1.07 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005378/0.3672, allocations: 382.1 kB / 1.071 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.3672, allocations: 8 kB / 1.071 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.3673, allocations: 4 kB / 1.071 GB, free: 8.598 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002868/0.3676, allocations: 109.6 kB / 1.071 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3676, allocations: 0 / 1.071 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3676, allocations: 0 / 1.071 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3676, allocations: 0 / 1.071 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.3678, allocations: 67.95 kB / 1.071 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008426/0.3686, allocations: 0.4886 MB / 1.071 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.369, allocations: 138.7 kB / 1.071 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.3692, allocations: 56.77 kB / 1.071 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.3692, allocations: 7.969 kB / 1.071 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.3695, allocations: 111.3 kB / 1.071 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 3.306e-06/0.3695, allocations: 0 / 1.071 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0005668/0.37, allocations: 224.3 kB / 1.072 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.3701, allocations: 59.34 kB / 1.072 GB, free: 7.254 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006203/0.3707, allocations: 0.5054 MB / 1.072 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.3708, allocations: 33.7 kB / 1.072 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.3709, allocations: 160.5 kB / 1.072 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.371, allocations: 35.55 kB / 1.072 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.3711, allocations: 73.88 kB / 1.073 GB, free: 6.426 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3713, allocations: 346.8 kB / 1.073 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.3715, allocations: 100.5 kB / 1.073 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.3717, allocations: 131.6 kB / 1.073 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.3721, allocations: 187.7 kB / 1.073 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3721, allocations: 0 / 1.073 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000578/0.3727, allocations: 317.2 kB / 1.074 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3727, allocations: 6.344 kB / 1.074 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.3727, allocations: 7.938 kB / 1.074 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3728, allocations: 4 kB / 1.074 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.373, allocations: 51.91 kB / 1.074 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.373, allocations: 4 kB / 1.074 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.3732, allocations: 23.83 kB / 1.074 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.3732, allocations: 11.98 kB / 1.074 GB, free: 5.23 MB / 0.8419 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 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002091/0.3734, allocations: 189.8 kB / 1.074 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.3735, allocations: 31.62 kB / 1.074 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.669e-05/0.3736, allocations: 39.06 kB / 1.074 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3736, allocations: 4 kB / 1.074 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3736, allocations: 0 / 1.074 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.3736, allocations: 0 / 1.074 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.3739, allocations: 305.3 kB / 1.074 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.374, allocations: 0 / 1.074 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-05/0.374, allocations: 15.92 kB / 1.074 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.374, allocations: 4 kB / 1.074 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.3741, allocations: 7.938 kB / 1.074 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3741, allocations: 0 / 1.074 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3741, allocations: 0 / 1.074 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.3745, allocations: 208.6 kB / 1.074 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.3746, allocations: 112.7 kB / 1.075 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.3747, allocations: 3.938 kB / 1.075 GB, free: 4.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.3748, allocations: 19.92 kB / 1.075 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.3749, allocations: 19.97 kB / 1.075 GB, free: 4.191 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.3749, allocations: 4 kB / 1.075 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003692/0.3753, allocations: 319.1 kB / 1.075 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3753, allocations: 0 / 1.075 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000298/0.3756, allocations: 59.91 kB / 1.075 GB, free: 3.816 MB / 0.8419 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.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001535/0.3771, allocations: 419 kB / 1.075 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004572/0.3776, allocations: 203 kB / 1.076 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3776, allocations: 0 / 1.076 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.3778, allocations: 67.84 kB / 1.076 GB, free: 3.293 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.3783, allocations: 98.38 kB / 1.076 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009467/0.3792, allocations: 0.5568 MB / 1.076 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.3797, allocations: 0.7909 MB / 1.077 GB, free: 1.805 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.025e-05/0.3798, allocations: 31.42 kB / 1.077 GB, free: 1.773 MB / 0.8419 GB Notification: Performance of SimCode: time 4.3e-07/0.3798, allocations: 0 / 1.077 GB, free: 1.773 MB / 0.8419 GB Notification: Performance of Templates: time 0.495/0.8748, allocations: 4.387 MB / 1.081 GB, free: 21.11 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches