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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001855/0.001855, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002591/0.002591, allocations: 199.3 kB / 16.14 MB, free: 6.648 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.703/2.703, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 71.88 kB / 0.8686 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7569/0.7582, allocations: 151.6 MB / 1.017 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.00328/0.7616, allocations: 2.062 MB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00177/0.7633, allocations: 1.19 MB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.7635, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003945/0.7639, allocations: 151.6 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.7642, allocations: 147.5 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.7646, allocations: 207.5 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000283/0.7649, allocations: 287.2 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.7651, allocations: 44.38 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.7652, allocations: 135.3 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.7654, allocations: 143.4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.7655, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.7656, allocations: 47.92 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.716e-05/0.7657, allocations: 83.72 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.7658, allocations: 119.2 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.7661, allocations: 352.7 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7662, allocations: 4 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.325e-06/0.7662, allocations: 4 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.7662, allocations: 3.938 kB / 1.021 GB, free: 13.86 MB / 0.7794 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.0009448/0.7671, allocations: 0.6109 MB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.7672, allocations: 8.031 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.228e-05/0.7673, allocations: 40.47 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.7678, allocations: 378.1 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.7678, allocations: 8 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.7678, allocations: 12 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.7681, allocations: 109.6 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.7681, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.7681, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.7681, allocations: 3.984 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.7683, allocations: 63.95 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007619/0.7691, allocations: 0.4926 MB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.7694, allocations: 134.7 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.7695, allocations: 52.83 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.7696, allocations: 7.984 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.7698, allocations: 107.4 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.7698, allocations: 4 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004982/0.7703, allocations: 217.1 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.7704, allocations: 55.41 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005173/0.7709, allocations: 0.5092 MB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.7709, allocations: 37.7 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.771, allocations: 168.4 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.7711, allocations: 31.56 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.964e-05/0.7712, allocations: 77.86 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.7713, allocations: 342.8 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.7715, allocations: 104.5 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.7717, allocations: 131.6 kB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.772, allocations: 182.5 kB / 1.025 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.772, allocations: 0 / 1.025 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004984/0.7725, allocations: 318.7 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.7726, allocations: 4 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.7726, allocations: 3.938 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.7726, allocations: 8.062 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.7728, allocations: 51.91 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.7728, allocations: 4 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.773, allocations: 19.84 kB / 1.026 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.773, allocations: 11.98 kB / 1.026 GB, free: 9.359 MB / 0.7794 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.0001585/0.7732, allocations: 181.7 kB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.7732, allocations: 31.62 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.438e-05/0.7733, allocations: 39.06 kB / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.7733, allocations: 8 kB / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.7733, allocations: 0 / 1.026 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.7733, allocations: 3.984 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.7736, allocations: 301.4 kB / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7736, allocations: 0 / 1.026 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.726e-05/0.7737, allocations: 11.98 kB / 1.026 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7737, allocations: 0 / 1.026 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.7737, allocations: 7.938 kB / 1.026 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.7737, allocations: 4 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7737, allocations: 3.984 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.7741, allocations: 204.6 kB / 1.026 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.916e-05/0.7742, allocations: 120.7 kB / 1.026 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.7742, allocations: 7.875 kB / 1.026 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.7743, allocations: 11.98 kB / 1.027 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.533e-05/0.7744, allocations: 15.98 kB / 1.027 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.7744, allocations: 7.984 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003183/0.7747, allocations: 311.1 kB / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7747, allocations: 4 kB / 1.027 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002802/0.775, allocations: 63.98 kB / 1.027 GB, free: 7.953 MB / 0.7794 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.0009693/0.776, allocations: 424.8 kB / 1.027 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003952/0.7764, allocations: 196 kB / 1.027 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.7764, allocations: 0 / 1.027 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.7766, allocations: 60.09 kB / 1.028 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.777, allocations: 86.67 kB / 1.028 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007747/0.7778, allocations: 0.6028 MB / 1.028 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.7781, allocations: 0.787 MB / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001318/0.7782, allocations: 54.94 kB / 1.029 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.218e-05/0.7783, allocations: 31.42 kB / 1.029 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.7783, allocations: 0 / 1.029 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of Templates: time 0.007182/0.7855, allocations: 3.869 MB / 1.033 GB, free: 2.008 MB / 0.7794 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 -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/jenkins/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