Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00965/0.00965, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001664/0.001664, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.749/2.749, allocations: 472.6 MB / 0.7453 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.91 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206/1.207, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.004282/1.212, allocations: 1.995 MB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002381/1.214, allocations: 1.198 MB / 1.229 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002322/1.214, allocations: 4 kB / 1.229 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005426/1.215, allocations: 159.4 kB / 1.229 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004836/1.215, allocations: 155.4 kB / 1.229 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006831/1.216, allocations: 227.1 kB / 1.229 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006035/1.217, allocations: 315.2 kB / 1.23 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/1.217, allocations: 44.36 kB / 1.23 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003813/1.217, allocations: 143.5 kB / 1.23 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/1.218, allocations: 151.4 kB / 1.23 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.796e-05/1.218, allocations: 15.94 kB / 1.23 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002831/1.218, allocations: 55.98 kB / 1.23 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001829/1.218, allocations: 87.72 kB / 1.23 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002309/1.219, allocations: 127.1 kB / 1.23 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008489/1.219, allocations: 367 kB / 1.231 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/1.219, allocations: 0 / 1.231 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.314e-06/1.219, allocations: 0 / 1.231 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.813e-05/1.22, allocations: 0 / 1.231 GB, free: 8.508 MB / 0.9512 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.001522/1.221, allocations: 0.6455 MB / 1.231 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/1.221, allocations: 8.031 kB / 1.231 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/1.221, allocations: 36.7 kB / 1.231 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006189/1.222, allocations: 382.2 kB / 1.232 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/1.222, allocations: 4 kB / 1.232 GB, free: 7.352 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/1.222, allocations: 12 kB / 1.232 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/1.222, allocations: 110.6 kB / 1.232 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.222, allocations: 0 / 1.232 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/1.222, allocations: 8 kB / 1.232 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/1.222, allocations: 4 kB / 1.232 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/1.222, allocations: 59.95 kB / 1.232 GB, free: 7.156 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009504/1.223, allocations: 492.5 kB / 1.232 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/1.224, allocations: 142.6 kB / 1.232 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/1.224, allocations: 48.83 kB / 1.232 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/1.224, allocations: 7.938 kB / 1.232 GB, free: 6.418 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002756/1.224, allocations: 111.3 kB / 1.233 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/1.224, allocations: 0 / 1.233 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0005972/1.225, allocations: 229.3 kB / 1.233 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/1.225, allocations: 51.41 kB / 1.233 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006443/1.226, allocations: 0.5132 MB / 1.233 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/1.226, allocations: 25.7 kB / 1.233 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/1.226, allocations: 160.5 kB / 1.233 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/1.226, allocations: 47.67 kB / 1.234 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/1.226, allocations: 69.95 kB / 1.234 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.226, allocations: 346.8 kB / 1.234 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/1.226, allocations: 100.5 kB / 1.234 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/1.227, allocations: 148.1 kB / 1.234 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/1.227, allocations: 170.5 kB / 1.234 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/1.227, allocations: 0 / 1.234 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005594/1.227, allocations: 321.3 kB / 1.235 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/1.227, allocations: 11.94 kB / 1.235 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.228, allocations: 0 / 1.235 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/1.228, allocations: 0 / 1.235 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/1.228, allocations: 55.91 kB / 1.235 GB, free: 4 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/1.228, allocations: 0 / 1.235 GB, free: 4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/1.228, allocations: 23.88 kB / 1.235 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/1.228, allocations: 19.98 kB / 1.235 GB, free: 3.957 MB / 0.9512 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.0002023/1.228, allocations: 181.8 kB / 1.235 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/1.228, allocations: 39.7 kB / 1.235 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.822e-05/1.228, allocations: 39.12 kB / 1.235 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/1.228, allocations: 3.938 kB / 1.235 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/1.228, allocations: 0 / 1.235 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.228, allocations: 0 / 1.235 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/1.229, allocations: 293.5 kB / 1.235 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.229, allocations: 0 / 1.235 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.878e-05/1.229, allocations: 19.92 kB / 1.235 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/1.229, allocations: 7.938 kB / 1.235 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/1.229, allocations: 4 kB / 1.235 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/1.229, allocations: 0 / 1.235 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.229, allocations: 4 kB / 1.235 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003877/1.229, allocations: 208.8 kB / 1.235 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.44e-05/1.229, allocations: 112.8 kB / 1.236 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/1.229, allocations: 11.92 kB / 1.236 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/1.23, allocations: 12 kB / 1.236 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/1.23, allocations: 19.97 kB / 1.236 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/1.23, allocations: 8 kB / 1.236 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003546/1.23, allocations: 315.1 kB / 1.236 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.703e-06/1.23, allocations: 0 / 1.236 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003072/1.23, allocations: 63.83 kB / 1.236 GB, free: 2.551 MB / 0.9512 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.001143/1.231, allocations: 432.2 kB / 1.236 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004441/1.232, allocations: 187.9 kB / 1.237 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.232, allocations: 0 / 1.237 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/1.232, allocations: 63.91 kB / 1.237 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/1.233, allocations: 93.64 kB / 1.237 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008957/1.234, allocations: 0.5311 MB / 1.237 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/1.234, allocations: 0.787 MB / 1.238 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001592/1.234, allocations: 54.95 kB / 1.238 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.082e-05/1.234, allocations: 39.42 kB / 1.238 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/1.234, allocations: 0 / 1.238 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of Templates: time 0.00904/1.243, allocations: 4.069 MB / 1.242 GB, free: 12.46 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches