Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.474/2.474, allocations: 390.5 MB / 398 MB, free: 10.98 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.001376/0.001377, allocations: 178.6 kB / 491.2 MB, free: 1.594 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.819/1.819, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.00108/0.00108, allocations: 98.39 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.014e-05/2.016e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3324, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.139/1.471, allocations: 153.4 MB / 1.362 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/1.471, allocations: 73.73 kB / 1.362 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02729/1.499, allocations: 11.34 MB / 1.373 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.312e-06/1.499, allocations: 0 / 1.373 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.591e-05/1.499, allocations: 7.75 kB / 1.373 GB, free: 32.61 MB / 0.8386 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.000804/1.499, allocations: 0.5668 MB / 1.374 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/1.5, allocations: 11.69 kB / 1.374 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.993e-05/1.5, allocations: 38.84 kB / 1.374 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007346/1.5, allocations: 448.6 kB / 1.374 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/1.5, allocations: 3.906 kB / 1.374 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/1.5, allocations: 3.812 kB / 1.374 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001386/1.501, allocations: 66.36 kB / 1.374 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/1.501, allocations: 104 kB / 1.374 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/1.501, allocations: 0 / 1.374 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/1.501, allocations: 0 / 1.374 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/1.501, allocations: 3.812 kB / 1.374 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000874/1.502, allocations: 0.5397 MB / 1.375 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/1.502, allocations: 122.5 kB / 1.375 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.33e-05/1.502, allocations: 40.12 kB / 1.375 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/1.502, allocations: 192 / 1.375 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/1.502, allocations: 112 kB / 1.375 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 1.452e-06/1.502, allocations: 0 / 1.375 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0003064/1.503, allocations: 156 kB / 1.375 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/1.503, allocations: 55.28 kB / 1.375 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00047/1.503, allocations: 478.9 kB / 1.376 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/1.503, allocations: 32.23 kB / 1.376 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/1.503, allocations: 176.9 kB / 1.376 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/1.503, allocations: 34.91 kB / 1.376 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.491e-05/1.503, allocations: 3.938 kB / 1.376 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.503, allocations: 351.3 kB / 1.377 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/1.504, allocations: 111.9 kB / 1.377 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/1.504, allocations: 153.1 kB / 1.377 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/1.504, allocations: 132.1 kB / 1.377 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.504, allocations: 4.031 kB / 1.377 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005407/1.505, allocations: 351.7 kB / 1.377 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.505, allocations: 3.938 kB / 1.377 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.505, allocations: 0 / 1.377 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/1.505, allocations: 3.969 kB / 1.377 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/1.505, allocations: 48.08 kB / 1.377 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/1.505, allocations: 3.969 kB / 1.377 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/1.505, allocations: 24.95 kB / 1.377 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/1.505, allocations: 18.39 kB / 1.377 GB, free: 30.67 MB / 0.8386 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 () * 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.0001087/1.505, allocations: 109.6 kB / 1.377 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/1.505, allocations: 43.02 kB / 1.377 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/1.506, allocations: 176.4 kB / 1.378 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.506, allocations: 0 / 1.378 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.506, allocations: 0 / 1.378 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/1.506, allocations: 0 / 1.378 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/1.506, allocations: 293.6 kB / 1.378 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/1.506, allocations: 0 / 1.378 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/1.506, allocations: 7.812 kB / 1.378 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.506, allocations: 7.906 kB / 1.378 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/1.506, allocations: 2.719 kB / 1.378 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/1.506, allocations: 7.891 kB / 1.378 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.506, allocations: 0 / 1.378 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/1.506, allocations: 195.5 kB / 1.378 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.854e-05/1.506, allocations: 128.3 kB / 1.378 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/1.506, allocations: 3.812 kB / 1.378 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/1.506, allocations: 13.16 kB / 1.378 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.521e-05/1.506, allocations: 22.16 kB / 1.378 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/1.506, allocations: 6.688 kB / 1.378 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002703/1.507, allocations: 315.5 kB / 1.379 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.507, allocations: 0 / 1.379 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003008/1.507, allocations: 69.84 kB / 1.379 GB, free: 30.02 MB / 0.8386 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) * 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.0008511/1.508, allocations: 378 kB / 1.379 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002879/1.508, allocations: 180.3 kB / 1.379 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.508, allocations: 0 / 1.379 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.651e-05/1.508, allocations: 60.3 kB / 1.379 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/1.509, allocations: 86.92 kB / 1.379 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006454/1.509, allocations: 442.4 kB / 1.38 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/1.51, allocations: 0.8044 MB / 1.381 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001369/1.51, allocations: 52.33 kB / 1.381 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/1.51, allocations: 36.81 kB / 1.381 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.51, allocations: 0 / 1.381 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of Templates: time 0.007312/1.517, allocations: 3.728 MB / 1.384 GB, free: 27.51 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Less.csv","../files/Buildings_latest_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