Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001175, allocations: 185 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.1/2.1, allocations: 205.4 MB / 0.5775 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008757/0.0008756, allocations: 83.56 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003535, allocations: 11.88 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2379, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1754/0.4133, allocations: 135.3 MB / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.4136, allocations: 83.95 kB / 1.032 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02796/0.4416, allocations: 10.64 MB / 1.043 GB, free: 13.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4416, allocations: 0 / 1.043 GB, free: 13.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.289e-05/0.4417, allocations: 4 kB / 1.043 GB, free: 13.63 MB / 0.698 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.0009105/0.4426, allocations: 0.5954 MB / 1.043 GB, free: 12.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.4426, allocations: 8.031 kB / 1.043 GB, free: 12.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.605e-05/0.4427, allocations: 35.53 kB / 1.043 GB, free: 12.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/0.4433, allocations: 377.2 kB / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.4434, allocations: 12 kB / 1.044 GB, free: 12.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.4434, allocations: 15.98 kB / 1.044 GB, free: 12.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.4436, allocations: 108.2 kB / 1.044 GB, free: 12.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.4437, allocations: 0 / 1.044 GB, free: 12.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.4437, allocations: 11.98 kB / 1.044 GB, free: 12.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4437, allocations: 3.938 kB / 1.044 GB, free: 12.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.4439, allocations: 63.95 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007707/0.4446, allocations: 0.4965 MB / 1.044 GB, free: 11.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.445, allocations: 146.6 kB / 1.045 GB, free: 11.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.445, allocations: 7.984 kB / 1.045 GB, free: 11.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.4453, allocations: 115.3 kB / 1.045 GB, free: 11.49 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.4453, allocations: 0 / 1.045 GB, free: 11.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0005098/0.4458, allocations: 235.3 kB / 1.045 GB, free: 11.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.4459, allocations: 51.41 kB / 1.045 GB, free: 11.19 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.4464, allocations: 464.8 kB / 1.045 GB, free: 10.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.4464, allocations: 29.7 kB / 1.045 GB, free: 10.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.4466, allocations: 168.3 kB / 1.046 GB, free: 10.53 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.4466, allocations: 31.61 kB / 1.046 GB, free: 10.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.927e-05/0.4466, allocations: 12 kB / 1.046 GB, free: 10.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4468, allocations: 343.4 kB / 1.046 GB, free: 10.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.447, allocations: 116.5 kB / 1.046 GB, free: 10.03 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.4472, allocations: 151.6 kB / 1.046 GB, free: 9.871 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.4475, allocations: 124 kB / 1.046 GB, free: 9.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4475, allocations: 4 kB / 1.046 GB, free: 9.746 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005669/0.448, allocations: 357.6 kB / 1.047 GB, free: 9.391 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4481, allocations: 8 kB / 1.047 GB, free: 9.383 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.4481, allocations: 3.984 kB / 1.047 GB, free: 9.379 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.4481, allocations: 0 / 1.047 GB, free: 9.379 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.4483, allocations: 55.91 kB / 1.047 GB, free: 9.324 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.4484, allocations: 7.938 kB / 1.047 GB, free: 9.316 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.4485, allocations: 19.84 kB / 1.047 GB, free: 9.297 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.4486, allocations: 20.05 kB / 1.047 GB, free: 9.277 MB / 0.698 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 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.4487, allocations: 178 kB / 1.047 GB, free: 9.094 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.4488, allocations: 31.62 kB / 1.047 GB, free: 9.062 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004196/0.4492, allocations: 217.7 kB / 1.047 GB, free: 8.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4492, allocations: 0 / 1.047 GB, free: 8.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4493, allocations: 0 / 1.047 GB, free: 8.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.4493, allocations: 3.953 kB / 1.047 GB, free: 8.836 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.4495, allocations: 309.4 kB / 1.047 GB, free: 8.484 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4496, allocations: 3.984 kB / 1.047 GB, free: 8.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.508e-05/0.4496, allocations: 12 kB / 1.048 GB, free: 8.469 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.4496, allocations: 4 kB / 1.048 GB, free: 8.465 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.4497, allocations: 7.984 kB / 1.048 GB, free: 8.457 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4497, allocations: 0 / 1.048 GB, free: 8.457 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4497, allocations: 7.938 kB / 1.048 GB, free: 8.449 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.4501, allocations: 228.5 kB / 1.048 GB, free: 8.207 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.4502, allocations: 116.7 kB / 1.048 GB, free: 8.074 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.4503, allocations: 0 / 1.048 GB, free: 8.074 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.4504, allocations: 15.98 kB / 1.048 GB, free: 8.059 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.4504, allocations: 11.98 kB / 1.048 GB, free: 8.047 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.4505, allocations: 11.98 kB / 1.048 GB, free: 8.035 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003359/0.4508, allocations: 307.1 kB / 1.048 GB, free: 7.734 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4508, allocations: 0 / 1.048 GB, free: 7.734 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003077/0.4511, allocations: 67.94 kB / 1.048 GB, free: 7.668 MB / 0.698 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.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001002/0.4521, allocations: 440.9 kB / 1.049 GB, free: 7.387 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004058/0.4526, allocations: 203.7 kB / 1.049 GB, free: 7.188 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4526, allocations: 7.938 kB / 1.049 GB, free: 7.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.4527, allocations: 63.91 kB / 1.049 GB, free: 7.117 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.4532, allocations: 85.08 kB / 1.049 GB, free: 7.039 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009099/0.4541, allocations: 0.5881 MB / 1.05 GB, free: 6.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.4545, allocations: 0.7952 MB / 1.05 GB, free: 5.605 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001464/0.4546, allocations: 50.95 kB / 1.05 GB, free: 5.555 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.886e-05/0.4547, allocations: 27.42 kB / 1.05 GB, free: 5.527 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/0.4547, allocations: 3.938 kB / 1.05 GB, free: 5.523 MB / 0.698 GB Notification: Performance of Templates: time 0.00721/0.4619, allocations: 3.76 MB / 1.054 GB, free: 1.793 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches