Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001593/0.001593, allocations: 115 kB / 16.37 MB, free: 6.016 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.001859/0.001859, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.449/2.449, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001263, allocations: 65.38 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.36, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003683/0.3637, allocations: 2.014 MB / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001877/0.3656, allocations: 1.205 MB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.3658, allocations: 3.938 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00041/0.3662, allocations: 155.4 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.3665, allocations: 155.4 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.367, allocations: 222.5 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003671/0.3674, allocations: 315.2 kB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.3675, allocations: 48.36 kB / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.3677, allocations: 143.4 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.3679, allocations: 147.5 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.3679, allocations: 16 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.3681, allocations: 63.89 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.3682, allocations: 79.75 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.3683, allocations: 127.1 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.3688, allocations: 366.7 kB / 1.024 GB, free: 4.805 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3688, allocations: 0 / 1.024 GB, free: 4.805 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3688, allocations: 0 / 1.024 GB, free: 4.805 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.3688, allocations: 0 / 1.024 GB, free: 4.805 MB / 0.795 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.0009397/0.3697, allocations: 0.6225 MB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3698, allocations: 8.922 kB / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.264e-05/0.3698, allocations: 36.47 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000508/0.3704, allocations: 382.1 kB / 1.025 GB, free: 3.676 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.3704, allocations: 4 kB / 1.025 GB, free: 3.672 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.3704, allocations: 15.98 kB / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.3706, allocations: 100.1 kB / 1.025 GB, free: 3.555 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3707, allocations: 0 / 1.025 GB, free: 3.555 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.3707, allocations: 11.94 kB / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3707, allocations: 4 kB / 1.025 GB, free: 3.539 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.3709, allocations: 63.89 kB / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007784/0.3717, allocations: 0.4887 MB / 1.025 GB, free: 2.938 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.372, allocations: 142.7 kB / 1.026 GB, free: 2.789 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.3721, allocations: 44.83 kB / 1.026 GB, free: 2.742 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.3721, allocations: 7.984 kB / 1.026 GB, free: 2.734 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.3724, allocations: 113.7 kB / 1.026 GB, free: 2.613 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.3724, allocations: 0 / 1.026 GB, free: 2.613 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0004777/0.3729, allocations: 229.1 kB / 1.026 GB, free: 2.383 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.3729, allocations: 55.41 kB / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004801/0.3734, allocations: 0.5054 MB / 1.026 GB, free: 1.805 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.3734, allocations: 29.7 kB / 1.026 GB, free: 1.77 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.3735, allocations: 168.4 kB / 1.027 GB, free: 1.602 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.3736, allocations: 39.53 kB / 1.027 GB, free: 1.562 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-05/0.3737, allocations: 69.88 kB / 1.027 GB, free: 1.488 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3738, allocations: 350.8 kB / 1.027 GB, free: 1.137 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.374, allocations: 100.5 kB / 1.027 GB, free: 1.039 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.3742, allocations: 136.1 kB / 1.027 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.3745, allocations: 179.5 kB / 1.027 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3745, allocations: 3.938 kB / 1.027 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005015/0.3751, allocations: 321.2 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3751, allocations: 8 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3751, allocations: 3.938 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3751, allocations: 4 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.3753, allocations: 47.91 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.3753, allocations: 4 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.3755, allocations: 15.84 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.3755, allocations: 15.98 kB / 1.028 GB, free: 300 kB / 0.795 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.0001714/0.3757, allocations: 189.8 kB / 1.028 GB, free: 100 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.3757, allocations: 27.62 kB / 1.028 GB, free: 72 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.878e-05/0.3758, allocations: 39.06 kB / 1.028 GB, free: 32 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3758, allocations: 0 / 1.028 GB, free: 32 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3758, allocations: 0 / 1.028 GB, free: 32 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3758, allocations: 7.984 kB / 1.028 GB, free: 24 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.3761, allocations: 301.3 kB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3761, allocations: 0 / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.849e-05/0.3762, allocations: 15.98 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3762, allocations: 4 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.3762, allocations: 3.938 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.3763, allocations: 11.98 kB / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3763, allocations: 3.938 kB / 1.028 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.3766, allocations: 197.7 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.3768, allocations: 112.7 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.3768, allocations: 7.938 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3769, allocations: 15.98 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.107e-05/0.377, allocations: 15.98 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.377, allocations: 7.984 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003608/0.3774, allocations: 311.1 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3774, allocations: 0 / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003149/0.3777, allocations: 63.89 kB / 1.029 GB, free: 14.89 MB / 0.8106 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.001194/0.3789, allocations: 424.4 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004524/0.3794, allocations: 199.8 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3794, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.3795, allocations: 63.41 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.38, allocations: 92.69 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008843/0.3809, allocations: 0.5122 MB / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.3813, allocations: 0.7909 MB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.3815, allocations: 54.94 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.37e-05/0.3815, allocations: 39.42 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.3816, allocations: 0 / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of Templates: time 0.008049/0.3896, allocations: 4.048 MB / 1.035 GB, free: 8.836 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches