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.208/2.208, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001207/0.001207, allocations: 179.6 kB / 0.4902 GB, free: 2.211 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.611/1.611, allocations: 223.1 MB / 0.7992 GB, free: 14.62 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.0008592/0.0008592, allocations: 96 kB / 0.9396 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003742, allocations: 17.53 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3341, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2243/0.5585, allocations: 154.1 MB / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003678/0.5589, allocations: 83.94 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03742/0.5963, allocations: 11.47 MB / 1.391 GB, free: 3.766 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.996e-06/0.5964, allocations: 0 / 1.391 GB, free: 3.766 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.395e-05/0.5965, allocations: 12.16 kB / 1.391 GB, free: 3.754 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.001789/0.5983, allocations: 0.6503 MB / 1.392 GB, free: 3.047 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/0.5984, allocations: 8.031 kB / 1.392 GB, free: 3.039 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.5986, allocations: 35.53 kB / 1.392 GB, free: 3.004 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.5998, allocations: 449.1 kB / 1.392 GB, free: 2.527 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.5998, allocations: 12.19 kB / 1.392 GB, free: 2.516 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.5999, allocations: 11.98 kB / 1.392 GB, free: 2.504 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.6002, allocations: 117.4 kB / 1.392 GB, free: 2.387 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.6002, allocations: 3.938 kB / 1.392 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.6003, allocations: 8 kB / 1.392 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-06/0.6003, allocations: 0 / 1.392 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.6005, allocations: 76.45 kB / 1.392 GB, free: 2.301 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.6017, allocations: 0.5753 MB / 1.393 GB, free: 1.676 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.602, allocations: 134.6 kB / 1.393 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.6021, allocations: 0 / 1.393 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.6023, allocations: 111.8 kB / 1.393 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 1.844e-06/0.6024, allocations: 0 / 1.393 GB, free: 1.414 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12): time 0.0005793/0.6029, allocations: 217.5 kB / 1.393 GB, free: 1.195 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.603, allocations: 51.41 kB / 1.393 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007197/0.6037, allocations: 492.7 kB / 1.394 GB, free: 0.6445 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.6038, allocations: 33.7 kB / 1.394 GB, free: 0.6055 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.6039, allocations: 180.4 kB / 1.394 GB, free: 436 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.047e-05/0.604, allocations: 39.53 kB / 1.394 GB, free: 396 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/0.604, allocations: 4 kB / 1.394 GB, free: 392 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.6042, allocations: 350.8 kB / 1.394 GB, free: 32 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.6045, allocations: 132.4 kB / 1.395 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.6048, allocations: 160.4 kB / 1.395 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.6051, allocations: 124.5 kB / 1.395 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6051, allocations: 0 / 1.395 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006467/0.6058, allocations: 370 kB / 1.395 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.6058, allocations: 8 kB / 1.395 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.6058, allocations: 0 / 1.395 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.6058, allocations: 0 / 1.395 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.606, allocations: 47.91 kB / 1.395 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.6061, allocations: 4 kB / 1.395 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.6063, allocations: 19.98 kB / 1.395 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.6063, allocations: 16 kB / 1.395 GB, free: 15.15 MB / 0.9011 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.0002134/0.6066, allocations: 194.5 kB / 1.395 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.19e-05/0.6066, allocations: 43.47 kB / 1.396 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004241/0.6071, allocations: 188.8 kB / 1.396 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.6071, allocations: 0 / 1.396 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6071, allocations: 0 / 1.396 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.6071, allocations: 0 / 1.396 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.6075, allocations: 329.2 kB / 1.396 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.6075, allocations: 3.984 kB / 1.396 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.05e-05/0.6076, allocations: 15.98 kB / 1.396 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.6076, allocations: 3.953 kB / 1.396 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.6076, allocations: 4 kB / 1.396 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6076, allocations: 3.938 kB / 1.396 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6076, allocations: 0 / 1.396 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.608, allocations: 216.1 kB / 1.396 GB, free: 14.08 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.6082, allocations: 120.6 kB / 1.396 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.6082, allocations: 11.95 kB / 1.396 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.6084, allocations: 15.98 kB / 1.396 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.6084, allocations: 19.91 kB / 1.396 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.6085, allocations: 8 kB / 1.396 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004079/0.6089, allocations: 331.1 kB / 1.397 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6089, allocations: 0 / 1.397 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003894/0.6093, allocations: 75.92 kB / 1.397 GB, free: 13.5 MB / 0.9011 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.001173/0.6105, allocations: 439.8 kB / 1.397 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004564/0.6109, allocations: 195.8 kB / 1.397 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.6109, allocations: 0 / 1.397 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.6111, allocations: 63.91 kB / 1.397 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004696/0.6116, allocations: 83.61 kB / 1.398 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.6127, allocations: 0.6464 MB / 1.398 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.6133, allocations: 0.8109 MB / 1.399 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001911/0.6135, allocations: 58.86 kB / 1.399 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.343e-05/0.6136, allocations: 31.42 kB / 1.399 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of SimCode: time 4.61e-07/0.6136, allocations: 0 / 1.399 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of Templates: time 0.009498/0.6231, allocations: 4.019 MB / 1.403 GB, free: 7.301 MB / 0.9011 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