Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.252/2.252, allocations: 390.3 MB / 405.3 MB, free: 13.37 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001468, allocations: 192.5 kB / 498.1 MB, free: 5.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 223.2 MB / 0.7948 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008786/0.0008786, allocations: 92.33 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 10.41 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3083, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2026/0.511, allocations: 153.3 MB / 1.373 GB, free: 8.73 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.5114, allocations: 79.95 kB / 1.373 GB, free: 8.652 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03259/0.544, allocations: 11.46 MB / 1.384 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.312e-06/0.544, allocations: 0 / 1.384 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.968e-05/0.5441, allocations: 12 kB / 1.384 GB, free: 13.17 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001505/0.5456, allocations: 0.6502 MB / 1.385 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.5456, allocations: 8.031 kB / 1.385 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.5458, allocations: 47.41 kB / 1.385 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.5469, allocations: 445.2 kB / 1.385 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.547, allocations: 4.188 kB / 1.385 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.547, allocations: 12 kB / 1.385 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.5474, allocations: 124.7 kB / 1.385 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.5474, allocations: 4 kB / 1.385 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.5475, allocations: 4 kB / 1.385 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-06/0.5475, allocations: 4 kB / 1.385 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/0.5478, allocations: 68.52 kB / 1.385 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.5493, allocations: 0.5792 MB / 1.386 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.5498, allocations: 139.8 kB / 1.386 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.5498, allocations: 4 kB / 1.386 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003238/0.5502, allocations: 107.3 kB / 1.386 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 3.085e-06/0.5502, allocations: 4 kB / 1.386 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12): time 0.0007806/0.551, allocations: 217.4 kB / 1.386 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.551, allocations: 59.52 kB / 1.386 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009396/0.552, allocations: 492.7 kB / 1.387 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.552, allocations: 29.7 kB / 1.387 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.5522, allocations: 188.4 kB / 1.387 GB, free: 9.82 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.061e-05/0.5523, allocations: 31.64 kB / 1.387 GB, free: 9.789 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.5523, allocations: 4 kB / 1.387 GB, free: 9.785 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002019/0.5525, allocations: 354.8 kB / 1.387 GB, free: 9.43 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.5529, allocations: 120.5 kB / 1.387 GB, free: 9.309 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000437/0.5534, allocations: 156.5 kB / 1.388 GB, free: 9.145 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.5537, allocations: 121 kB / 1.388 GB, free: 9.027 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5537, allocations: 0 / 1.388 GB, free: 9.027 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009401/0.5547, allocations: 369 kB / 1.388 GB, free: 8.66 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.5547, allocations: 5.094 kB / 1.388 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.5547, allocations: 4 kB / 1.388 GB, free: 8.652 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.5548, allocations: 3.984 kB / 1.388 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.555, allocations: 43.92 kB / 1.388 GB, free: 8.605 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.555, allocations: 0 / 1.388 GB, free: 8.605 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.5553, allocations: 31.95 kB / 1.388 GB, free: 8.574 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.59e-05/0.5554, allocations: 19.98 kB / 1.388 GB, free: 8.555 MB / 0.8855 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,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.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.0003216/0.5557, allocations: 185.6 kB / 1.388 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.5558, allocations: 35.58 kB / 1.388 GB, free: 8.328 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006562/0.5565, allocations: 204.6 kB / 1.389 GB, free: 8.113 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5565, allocations: 3.938 kB / 1.389 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5565, allocations: 0 / 1.389 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.5566, allocations: 3.984 kB / 1.389 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.557, allocations: 321.5 kB / 1.389 GB, free: 7.742 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5571, allocations: 3.938 kB / 1.389 GB, free: 7.738 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.5571, allocations: 8 kB / 1.389 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.5572, allocations: 3.953 kB / 1.389 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/0.5572, allocations: 7.984 kB / 1.389 GB, free: 7.719 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.5572, allocations: 0 / 1.389 GB, free: 7.719 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5572, allocations: 0 / 1.389 GB, free: 7.719 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.5576, allocations: 212.5 kB / 1.389 GB, free: 7.492 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.5577, allocations: 120.7 kB / 1.389 GB, free: 7.355 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.5578, allocations: 11.95 kB / 1.389 GB, free: 7.344 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.5579, allocations: 23.97 kB / 1.389 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.558, allocations: 7.984 kB / 1.389 GB, free: 7.312 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.558, allocations: 7.984 kB / 1.389 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004946/0.5585, allocations: 335.1 kB / 1.39 GB, free: 6.98 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5585, allocations: 0 / 1.39 GB, free: 6.98 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005634/0.5591, allocations: 87.78 kB / 1.39 GB, free: 6.895 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,les.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 5 (lesHys.lesHys.y,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 (14): * Single equations (assignments): 10 * 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.00157/0.5607, allocations: 444.5 kB / 1.39 GB, free: 6.613 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007034/0.5614, allocations: 195.8 kB / 1.39 GB, free: 6.422 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5614, allocations: 0 / 1.39 GB, free: 6.422 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.5616, allocations: 59.97 kB / 1.39 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007023/0.5624, allocations: 81.61 kB / 1.39 GB, free: 6.285 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.5641, allocations: 0.6426 MB / 1.391 GB, free: 5.621 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/0.5647, allocations: 0.8109 MB / 1.392 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002905/0.565, allocations: 54.94 kB / 1.392 GB, free: 4.727 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.5652, allocations: 31.42 kB / 1.392 GB, free: 4.695 MB / 0.8855 GB Notification: Performance of SimCode: time 1.453e-06/0.5652, allocations: 0 / 1.392 GB, free: 4.695 MB / 0.8855 GB Notification: Performance of Templates: time 0.01356/0.5787, allocations: 4.019 MB / 1.396 GB, free: 0.7148 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Less.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,les.u1,les.u2,les.y,lesHys.y Variables in the result:les.h,les.have_hysteresis,les.pre_y_start,les.u1,les.u2,les.y,lesHys.h,lesHys.have_hysteresis,lesHys.lesHys.h,lesHys.lesHys.pre_y_start,lesHys.lesHys.y,lesHys.pre_y_start,lesHys.y,timTabLin.extrapolation,timTabLin.nT,timTabLin.nout,timTabLin.offset[1],timTabLin.smoothness,timTabLin.t0,timTabLin.tab.columns[1],timTabLin.tab.extrapolation,timTabLin.tab.nout,timTabLin.tab.offset[1],timTabLin.tab.p_offset[1],timTabLin.tab.shiftTime,timTabLin.tab.smoothness,timTabLin.tab.startTime,timTabLin.tab.t_max,timTabLin.tab.t_maxScaled,timTabLin.tab.t_min,timTabLin.tab.t_minScaled,timTabLin.tab.tableOnFile,timTabLin.tab.table[1,1],timTabLin.tab.table[1,2],timTabLin.tab.table[2,1],timTabLin.tab.table[2,2],timTabLin.tab.table[3,1],timTabLin.tab.table[3,2],timTabLin.tab.table[4,1],timTabLin.tab.table[4,2],timTabLin.tab.table[5,1],timTabLin.tab.table[5,2],timTabLin.tab.timeEvents,timTabLin.tab.timeScale,timTabLin.tab.verboseExtrapolation,timTabLin.tab.verboseRead,timTabLin.table[1,1],timTabLin.table[1,2],timTabLin.table[2,1],timTabLin.table[2,2],timTabLin.table[3,1],timTabLin.table[3,2],timTabLin.table[4,1],timTabLin.table[4,2],timTabLin.table[5,1],timTabLin.table[5,2],timTabLin.timeRange,timTabLin.timeScale,timTabLin.y[1],timTabLin1.extrapolation,timTabLin1.nT,timTabLin1.nout,timTabLin1.offset[1],timTabLin1.smoothness,timTabLin1.t0,timTabLin1.tab.columns[1],timTabLin1.tab.extrapolation,timTabLin1.tab.nout,timTabLin1.tab.offset[1],timTabLin1.tab.p_offset[1],timTabLin1.tab.shiftTime,timTabLin1.tab.smoothness,timTabLin1.tab.startTime,timTabLin1.tab.t_max,timTabLin1.tab.t_maxScaled,timTabLin1.tab.t_min,timTabLin1.tab.t_minScaled,timTabLin1.tab.tableOnFile,timTabLin1.tab.table[1,1],timTabLin1.tab.table[1,2],timTabLin1.tab.table[2,1],timTabLin1.tab.table[2,2],timTabLin1.tab.table[3,1],timTabLin1.tab.table[3,2],timTabLin1.tab.table[4,1],timTabLin1.tab.table[4,2],timTabLin1.tab.table[5,1],timTabLin1.tab.table[5,2],timTabLin1.tab.timeEvents,timTabLin1.tab.timeScale,timTabLin1.tab.verboseExtrapolation,timTabLin1.tab.verboseRead,timTabLin1.table[1,1],timTabLin1.table[1,2],timTabLin1.table[2,1],timTabLin1.table[2,2],timTabLin1.table[3,1],timTabLin1.table[3,2],timTabLin1.table[4,1],timTabLin1.table[4,2],timTabLin1.table[5,1],timTabLin1.table[5,2],timTabLin1.timeRange,timTabLin1.timeScale,timTabLin1.y[1],time