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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.00136/0.00136, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 195.9 kB / 16.79 MB, free: 6.809 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.394/1.394, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.765/2.765, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 69.17 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3571, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003766/0.3609, allocations: 2.062 MB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00212/0.363, allocations: 1.189 MB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.3632, allocations: 0 / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004876/0.3637, allocations: 155.6 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000371/0.3642, allocations: 135.5 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005803/0.3647, allocations: 198.5 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003941/0.3652, allocations: 295.2 kB / 1.057 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.3653, allocations: 40.39 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002533/0.3656, allocations: 131.3 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.3658, allocations: 143.4 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.3659, allocations: 8 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.366, allocations: 55.91 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.3662, allocations: 79.73 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.3663, allocations: 127.1 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.3666, allocations: 283.6 kB / 1.058 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3667, allocations: 4 kB / 1.058 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3667, allocations: 0 / 1.058 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.3667, allocations: 0 / 1.058 GB, free: 3.402 MB / 0.8106 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.001089/0.3678, allocations: 0.6147 MB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.3678, allocations: 16.03 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.3679, allocations: 36.47 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005257/0.3685, allocations: 382.1 kB / 1.059 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.3685, allocations: 4 kB / 1.059 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.3685, allocations: 11.98 kB / 1.059 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.3688, allocations: 102.9 kB / 1.059 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3688, allocations: 0 / 1.059 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.3688, allocations: 4 kB / 1.059 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.3688, allocations: 4 kB / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.369, allocations: 63.89 kB / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008376/0.3699, allocations: 0.4925 MB / 1.059 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.3702, allocations: 138.7 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.3704, allocations: 48.83 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.3704, allocations: 4 kB / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002643/0.3707, allocations: 119.4 kB / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.833e-06/0.3707, allocations: 0 / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0005896/0.3713, allocations: 227.6 kB / 1.06 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.3713, allocations: 51.41 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005859/0.3719, allocations: 0.5093 MB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.372, allocations: 29.7 kB / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.3721, allocations: 164.4 kB / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.3721, allocations: 39.55 kB / 1.06 GB, free: 168 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.3723, allocations: 69.88 kB / 1.061 GB, free: 88 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3724, allocations: 350.8 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.3727, allocations: 96.52 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.3729, allocations: 131.6 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.3732, allocations: 180 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3733, allocations: 4 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005936/0.3739, allocations: 321.2 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3739, allocations: 7.938 kB / 1.062 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.3739, allocations: 7.938 kB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3739, allocations: 0 / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.3742, allocations: 51.91 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3742, allocations: 0 / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.3743, allocations: 19.84 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.3744, allocations: 20.05 kB / 1.062 GB, free: 14.89 MB / 0.8262 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.0001984/0.3746, allocations: 177.8 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.3747, allocations: 31.62 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.739e-05/0.3748, allocations: 46.98 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3748, allocations: 0 / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.3748, allocations: 0 / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3748, allocations: 3.984 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.3751, allocations: 309.3 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3751, allocations: 0 / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.142e-05/0.3752, allocations: 15.98 kB / 1.062 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.3752, allocations: 7.984 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.3752, allocations: 3.938 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.3752, allocations: 3.984 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3752, allocations: 0 / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.3756, allocations: 204.6 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.046e-05/0.3757, allocations: 112.7 kB / 1.063 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.3758, allocations: 7.938 kB / 1.063 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3759, allocations: 15.98 kB / 1.063 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.251e-05/0.376, allocations: 15.98 kB / 1.063 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.376, allocations: 11.98 kB / 1.063 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000344/0.3764, allocations: 311.1 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3764, allocations: 0 / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003087/0.3767, allocations: 63.89 kB / 1.063 GB, free: 13.48 MB / 0.8262 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.001055/0.3777, allocations: 415 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004238/0.3782, allocations: 195.8 kB / 1.064 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3782, allocations: 0 / 1.064 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.3783, allocations: 55.97 kB / 1.064 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.3788, allocations: 87.34 kB / 1.064 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009706/0.3798, allocations: 0.6299 MB / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.3802, allocations: 0.7912 MB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.464e-05/0.3803, allocations: 31.42 kB / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3803, allocations: 3.938 kB / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of Templates: time 0.007679/0.388, allocations: 4.382 MB / 1.069 GB, free: 7.027 MB / 0.8262 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/jenkins1/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