Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 109.9 kB / 16.42 MB, free: 6.492 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.00135/0.00135, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.16 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.219/2.219, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 76.08 kB / 0.9516 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.019, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.003458/1.023, allocations: 1.931 MB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001938/1.025, allocations: 1.098 MB / 1.092 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/1.025, allocations: 7.062 kB / 1.092 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004833/1.026, allocations: 120.7 kB / 1.092 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003081/1.026, allocations: 106.9 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/1.026, allocations: 150.1 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002827/1.027, allocations: 203.4 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/1.027, allocations: 47.92 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/1.027, allocations: 101.6 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/1.027, allocations: 102 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/1.027, allocations: 11.12 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/1.027, allocations: 50.64 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.658e-05/1.027, allocations: 62.42 kB / 1.093 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.04e-05/1.027, allocations: 84.28 kB / 1.093 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004008/1.028, allocations: 272 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/1.028, allocations: 7.938 kB / 1.093 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/1.028, allocations: 3.938 kB / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.072e-06/1.028, allocations: 0 / 1.093 GB, free: 2.82 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000844/1.029, allocations: 0.5376 MB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/1.029, allocations: 10.05 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.936e-05/1.029, allocations: 23.31 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005765/1.029, allocations: 387.5 kB / 1.094 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/1.029, allocations: 7.812 kB / 1.094 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/1.03, allocations: 8.469 kB / 1.094 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/1.03, allocations: 81.97 kB / 1.094 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/1.03, allocations: 0.8438 kB / 1.094 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/1.03, allocations: 5.703 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/1.03, allocations: 0.9375 kB / 1.094 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/1.03, allocations: 42.67 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000737/1.031, allocations: 408.7 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/1.031, allocations: 78.05 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.218e-05/1.031, allocations: 28.66 kB / 1.094 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/1.031, allocations: 4.875 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/1.031, allocations: 81.55 kB / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/1.031, allocations: 0 / 1.095 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003564/1.032, allocations: 139.2 kB / 1.095 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/1.032, allocations: 53.58 kB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/1.032, allocations: 306.1 kB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/1.032, allocations: 31.27 kB / 1.095 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.795e-05/1.032, allocations: 149.2 kB / 1.095 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/1.032, allocations: 20.47 kB / 1.095 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-05/1.032, allocations: 48.52 kB / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.868e-05/1.032, allocations: 338.4 kB / 1.096 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/1.033, allocations: 38.95 kB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/1.033, allocations: 61.66 kB / 1.096 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/1.033, allocations: 88.14 kB / 1.096 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.033, allocations: 0 / 1.096 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003348/1.033, allocations: 171 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.033, allocations: 5.25 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.033, allocations: 0.5 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/1.033, allocations: 2.781 kB / 1.096 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/1.033, allocations: 28.66 kB / 1.096 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/1.033, allocations: 1.859 kB / 1.096 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/1.033, allocations: 15.03 kB / 1.096 GB, free: 484 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/1.034, allocations: 12.09 kB / 1.096 GB, free: 480 kB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,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 (18): * Single equations (assignments): 18 * 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.0001536/1.034, allocations: 157.1 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/1.034, allocations: 22.48 kB / 1.096 GB, free: 332 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.756e-05/1.034, allocations: 23.41 kB / 1.096 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/1.034, allocations: 4.734 kB / 1.096 GB, free: 320 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.034, allocations: 0.9688 kB / 1.096 GB, free: 320 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/1.034, allocations: 104.1 kB / 1.096 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/1.034, allocations: 5.562 kB / 1.096 GB, free: 200 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.18e-05/1.034, allocations: 9.281 kB / 1.096 GB, free: 200 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/1.034, allocations: 13.19 kB / 1.096 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002599/1.034, allocations: 182.2 kB / 1.096 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003063/1.035, allocations: 281.2 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.34e-05/1.035, allocations: 35.78 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000267/1.035, allocations: 217.4 kB / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of Backend: time 5.31e-07/1.035, allocations: 0 / 1.097 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00149/1.037, allocations: 482.4 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of SimCode: time 0.00121/1.038, allocations: 0.8504 MB / 1.098 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of Templates: time 0.007509/1.045, allocations: 2.735 MB / 1.101 GB, free: 14.52 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,les.u,les.t,les.y,lesHys.y Variables in the result:les.h,les.have_hysteresis,les.lesNoHys.t,les.pre_y_start,les.t,les.u,les.y,lesHys.h,lesHys.have_hysteresis,lesHys.lesHys.h,lesHys.lesHys.pre_y_start,lesHys.lesHys.t,lesHys.lesHys.y,lesHys.pre_y_start,lesHys.t,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.table[6,1],timTabLin.tab.table[6,2],timTabLin.tab.table[7,1],timTabLin.tab.table[7,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.table[6,1],timTabLin.table[6,2],timTabLin.table[7,1],timTabLin.table[7,2],timTabLin.timeRange,timTabLin.timeScale,timTabLin.y[1],time