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.001678/0.001678, allocations: 112.6 kB / 16.37 MB, free: 6 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.002014/0.002014, allocations: 196 kB / 17.31 MB, free: 5.613 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.525/1.525, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.617/2.617, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 64.34 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3982, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.004786/0.4031, allocations: 2.013 MB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002315/0.4054, allocations: 1.193 MB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.4056, allocations: 7.938 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000496/0.4062, allocations: 159.5 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004725/0.4066, allocations: 155.4 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005825/0.4072, allocations: 227 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004045/0.4077, allocations: 315.2 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.4079, allocations: 52.31 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.4081, allocations: 143.4 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.4083, allocations: 151.4 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.4083, allocations: 16 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.4085, allocations: 55.97 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.4086, allocations: 83.73 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.4088, allocations: 127.1 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004458/0.4092, allocations: 362.7 kB / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.4093, allocations: 0 / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4093, allocations: 0 / 1.032 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.4093, allocations: 0 / 1.032 GB, free: 12.98 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.001258/0.4105, allocations: 0.6341 MB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.4106, allocations: 8.031 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.937e-05/0.4107, allocations: 32.56 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006262/0.4113, allocations: 378.1 kB / 1.033 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.4114, allocations: 11.92 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.4114, allocations: 15.94 kB / 1.033 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.4117, allocations: 97.62 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.4117, allocations: 4 kB / 1.033 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.4117, allocations: 8 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.4117, allocations: 0 / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.4119, allocations: 59.95 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009637/0.4129, allocations: 0.4924 MB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.4133, allocations: 142.7 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.4134, allocations: 44.83 kB / 1.034 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.4134, allocations: 4 kB / 1.034 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.4137, allocations: 111.3 kB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 4.678e-06/0.4137, allocations: 4 kB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0005504/0.4143, allocations: 221.3 kB / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.4143, allocations: 55.39 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006808/0.415, allocations: 0.5054 MB / 1.034 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.4151, allocations: 25.7 kB / 1.034 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.4152, allocations: 172.4 kB / 1.035 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.4153, allocations: 35.55 kB / 1.035 GB, free: 9.746 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.4154, allocations: 69.88 kB / 1.035 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002596/0.4157, allocations: 354.8 kB / 1.035 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.4159, allocations: 96.52 kB / 1.035 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.4162, allocations: 136.1 kB / 1.035 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.4166, allocations: 179.5 kB / 1.035 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4166, allocations: 7.938 kB / 1.035 GB, free: 8.891 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005675/0.4172, allocations: 313.2 kB / 1.036 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.4172, allocations: 8 kB / 1.036 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.4172, allocations: 3.938 kB / 1.036 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.4173, allocations: 0 / 1.036 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.4175, allocations: 51.97 kB / 1.036 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.4175, allocations: 7.938 kB / 1.036 GB, free: 8.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.4177, allocations: 19.83 kB / 1.036 GB, free: 8.488 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.4177, allocations: 16.06 kB / 1.036 GB, free: 8.473 MB / 0.8106 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.0002452/0.418, allocations: 181.8 kB / 1.036 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.418, allocations: 31.61 kB / 1.036 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.4182, allocations: 47 kB / 1.036 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.4182, allocations: 3.984 kB / 1.036 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.4182, allocations: 0 / 1.036 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.4182, allocations: 4 kB / 1.036 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/0.4186, allocations: 297.3 kB / 1.036 GB, free: 7.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4186, allocations: 3.984 kB / 1.036 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.44e-05/0.4187, allocations: 16 kB / 1.036 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4187, allocations: 0 / 1.036 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.4187, allocations: 11.92 kB / 1.036 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.4187, allocations: 4 kB / 1.036 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4187, allocations: 0 / 1.036 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004087/0.4191, allocations: 196.7 kB / 1.037 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.4193, allocations: 108.7 kB / 1.037 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/0.4193, allocations: 19.88 kB / 1.037 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.718e-05/0.4194, allocations: 11.92 kB / 1.037 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-05/0.4195, allocations: 23.98 kB / 1.037 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.4195, allocations: 7.984 kB / 1.037 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003481/0.4199, allocations: 311.1 kB / 1.037 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4199, allocations: 0 / 1.037 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003185/0.4202, allocations: 59.89 kB / 1.037 GB, free: 7.062 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.001253/0.4215, allocations: 418.5 kB / 1.037 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004304/0.4219, allocations: 191.8 kB / 1.038 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4219, allocations: 0 / 1.038 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.4221, allocations: 63.91 kB / 1.038 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/0.4226, allocations: 95.83 kB / 1.038 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009286/0.4235, allocations: 0.5204 MB / 1.038 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.4239, allocations: 0.7792 MB / 1.039 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001301/0.4241, allocations: 58.92 kB / 1.039 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.382e-05/0.4242, allocations: 35.42 kB / 1.039 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of SimCode: time 3.41e-07/0.4242, allocations: 0 / 1.039 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of Templates: time 0.008509/0.4327, allocations: 4.062 MB / 1.043 GB, free: 1.004 MB / 0.8106 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 -s cvode -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