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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 114.8 kB / 16.42 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00202/0.00202, allocations: 186.6 kB / 17.35 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.312/2.312, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 67.91 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9901/0.9917, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.004631/0.9963, allocations: 2.119 MB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0025/0.9989, allocations: 1.244 MB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.999, allocations: 8.562 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005358/0.9996, allocations: 159.4 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003665/1, allocations: 164 kB / 1.092 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005428/1.001, allocations: 234 kB / 1.093 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005093/1.001, allocations: 351.2 kB / 1.093 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/1.001, allocations: 84.86 kB / 1.093 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/1.002, allocations: 167.3 kB / 1.093 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/1.002, allocations: 152.5 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.166e-05/1.002, allocations: 20.72 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/1.002, allocations: 70.31 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001801/1.002, allocations: 92.16 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001752/1.002, allocations: 139 kB / 1.094 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006945/1.003, allocations: 403.5 kB / 1.094 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.003, allocations: 0.9062 kB / 1.094 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.535e-06/1.003, allocations: 0 / 1.094 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.007e-06/1.003, allocations: 0 / 1.094 GB, free: 2.273 MB / 0.8575 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.001264/1.004, allocations: 0.6684 MB / 1.095 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/1.004, allocations: 9 kB / 1.095 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.415e-05/1.005, allocations: 38.09 kB / 1.095 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000575/1.005, allocations: 399.4 kB / 1.095 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/1.005, allocations: 12.41 kB / 1.095 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/1.005, allocations: 12.42 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/1.006, allocations: 122.2 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/1.006, allocations: 0 / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/1.006, allocations: 4.719 kB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/1.006, allocations: 6.281 kB / 1.095 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/1.006, allocations: 65.62 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000973/1.007, allocations: 0.5286 MB / 1.096 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/1.007, allocations: 129.3 kB / 1.096 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/1.007, allocations: 48.61 kB / 1.096 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/1.007, allocations: 6.297 kB / 1.096 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/1.008, allocations: 114.2 kB / 1.096 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/1.008, allocations: 0.6562 kB / 1.096 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.000545/1.008, allocations: 215.4 kB / 1.096 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/1.008, allocations: 52.59 kB / 1.096 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007533/1.009, allocations: 0.527 MB / 1.097 GB, free: 380 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/1.009, allocations: 31.48 kB / 1.097 GB, free: 344 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/1.009, allocations: 179.4 kB / 1.097 GB, free: 192 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/1.009, allocations: 38.3 kB / 1.097 GB, free: 164 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/1.009, allocations: 68.47 kB / 1.097 GB, free: 124 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001823/1.009, allocations: 350.3 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/1.01, allocations: 99.94 kB / 1.098 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/1.01, allocations: 131.6 kB / 1.098 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/1.01, allocations: 172.1 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.01, allocations: 0 / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006299/1.011, allocations: 316.8 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/1.011, allocations: 4.969 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.011, allocations: 5.703 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/1.011, allocations: 2.188 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/1.011, allocations: 45.64 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/1.011, allocations: 2.156 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/1.011, allocations: 26.91 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/1.011, allocations: 12.62 kB / 1.098 GB, free: 15.46 MB / 0.8731 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 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002175/1.012, allocations: 181.5 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/1.012, allocations: 35.62 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.888e-05/1.012, allocations: 42.83 kB / 1.098 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.012, allocations: 1.656 kB / 1.098 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/1.012, allocations: 0 / 1.098 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/1.012, allocations: 116.9 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.998e-05/1.012, allocations: 7.531 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/1.012, allocations: 12.16 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/1.012, allocations: 16.86 kB / 1.099 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004063/1.013, allocations: 233.5 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004418/1.013, allocations: 356.5 kB / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001303/1.013, allocations: 50.72 kB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004547/1.014, allocations: 326.7 kB / 1.1 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of Backend: time 3.21e-07/1.014, allocations: 0 / 1.1 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001738/1.015, allocations: 0.5491 MB / 1.1 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0015/1.017, allocations: 1.053 MB / 1.101 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of Templates: time 0.01117/1.028, allocations: 4.214 MB / 1.105 GB, free: 13.18 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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