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.459/2.459, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.0009496/0.0009496, allocations: 183.3 kB / 492.3 MB, free: 0.625 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.395/1.395, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.0008644/0.0008644, allocations: 99.88 kB / 0.9267 GB, free: 13.92 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.16e-05/3.174e-05, allocations: 8 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2823, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.336, allocations: 153.2 MB / 1.362 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/1.336, allocations: 76.2 kB / 1.362 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02898/1.365, allocations: 11.44 MB / 1.373 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.853e-06/1.365, allocations: 0 / 1.373 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.098e-05/1.365, allocations: 3.812 kB / 1.373 GB, free: 34.18 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.001042/1.366, allocations: 0.5703 MB / 1.374 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/1.366, allocations: 10.58 kB / 1.374 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/1.367, allocations: 38.81 kB / 1.374 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009406/1.368, allocations: 433 kB / 1.374 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/1.368, allocations: 11.62 kB / 1.374 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/1.368, allocations: 13.84 kB / 1.374 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/1.368, allocations: 116.3 kB / 1.374 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/1.368, allocations: 0 / 1.374 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/1.368, allocations: 11.83 kB / 1.374 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/1.368, allocations: 3.938 kB / 1.374 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/1.368, allocations: 63.03 kB / 1.375 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/1.369, allocations: 0.572 MB / 1.375 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/1.369, allocations: 136.6 kB / 1.375 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.478e-05/1.369, allocations: 42.95 kB / 1.375 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/1.37, allocations: 0 / 1.375 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/1.37, allocations: 108.9 kB / 1.375 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 2.455e-06/1.37, allocations: 0 / 1.375 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0003574/1.37, allocations: 164.6 kB / 1.376 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/1.37, allocations: 61.83 kB / 1.376 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/1.371, allocations: 494.8 kB / 1.376 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/1.371, allocations: 32.67 kB / 1.376 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/1.371, allocations: 181.6 kB / 1.376 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/1.371, allocations: 33.31 kB / 1.376 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/1.371, allocations: 7.219 kB / 1.376 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.371, allocations: 352.7 kB / 1.377 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/1.371, allocations: 117.2 kB / 1.377 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/1.372, allocations: 152.3 kB / 1.377 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/1.372, allocations: 121.3 kB / 1.377 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.372, allocations: 0 / 1.377 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004943/1.372, allocations: 356.4 kB / 1.377 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.372, allocations: 7.812 kB / 1.377 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.372, allocations: 0 / 1.377 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/1.372, allocations: 8.094 kB / 1.377 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/1.372, allocations: 48.5 kB / 1.377 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/1.373, allocations: 0 / 1.377 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/1.373, allocations: 36.02 kB / 1.377 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/1.373, allocations: 15.44 kB / 1.377 GB, free: 32.2 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 9.505e-05/1.373, allocations: 126.4 kB / 1.378 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/1.373, allocations: 38.7 kB / 1.378 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/1.373, allocations: 180.5 kB / 1.378 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/1.373, allocations: 0 / 1.378 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/1.373, allocations: 0 / 1.378 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.373, allocations: 2.484 kB / 1.378 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/1.374, allocations: 317.2 kB / 1.378 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/1.374, allocations: 0 / 1.378 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.981e-05/1.374, allocations: 13.89 kB / 1.378 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/1.374, allocations: 0 / 1.378 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/1.374, allocations: 11.39 kB / 1.378 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.374, allocations: 7.812 kB / 1.378 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.374, allocations: 0 / 1.378 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/1.374, allocations: 197.3 kB / 1.378 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.029e-05/1.374, allocations: 126.9 kB / 1.378 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/1.374, allocations: 5.891 kB / 1.378 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/1.374, allocations: 27.88 kB / 1.378 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/1.374, allocations: 17.89 kB / 1.378 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/1.374, allocations: 9.516 kB / 1.379 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003274/1.375, allocations: 329.9 kB / 1.379 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.375, allocations: 0 / 1.379 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003523/1.375, allocations: 76.72 kB / 1.379 GB, free: 31.52 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.0009691/1.376, allocations: 396.6 kB / 1.379 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003265/1.376, allocations: 192.8 kB / 1.379 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.376, allocations: 0 / 1.379 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.346e-05/1.376, allocations: 59.58 kB / 1.38 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/1.377, allocations: 83.3 kB / 1.38 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007601/1.378, allocations: 443.7 kB / 1.38 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/1.378, allocations: 0.8073 MB / 1.381 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001778/1.378, allocations: 57.64 kB / 1.381 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.64e-05/1.378, allocations: 34.09 kB / 1.381 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of SimCode: time 6.81e-07/1.378, allocations: 0 / 1.381 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of Templates: time 0.008025/1.386, allocations: 4.031 MB / 1.385 GB, free: 28.58 MB / 0.8386 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