Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001644/0.001645, allocations: 104 kB / 16.35 MB, free: 5.824 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.001871/0.001871, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.382/1.382, 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 11.0.0-master/package.mo): time 2.497/2.497, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.84 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2959, allocations: 153 MB / 1.027 GB, free: 2.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002113/0.298, allocations: 0.841 MB / 1.028 GB, free: 1.184 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.2991, allocations: 0.8701 MB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.973e-05/0.2992, allocations: 4 kB / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.2993, allocations: 7.875 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.337e-05/0.2994, allocations: 11.86 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.2995, allocations: 27.92 kB / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.2997, allocations: 83.75 kB / 1.029 GB, free: 172 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.2998, allocations: 27.98 kB / 1.029 GB, free: 144 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.174e-05/0.2999, allocations: 27.86 kB / 1.029 GB, free: 116 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.108e-05/0.3, allocations: 27.86 kB / 1.029 GB, free: 88 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.3, allocations: 8 kB / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.394e-05/0.3, allocations: 8 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.3001, allocations: 19.91 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.3001, allocations: 27.81 kB / 1.029 GB, free: 24 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.3003, allocations: 79.81 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3003, allocations: 0 / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3003, allocations: 0 / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.3003, allocations: 4 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005245/0.3008, allocations: 392.2 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.3009, allocations: 8.031 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.3009, allocations: 8.844 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.3011, allocations: 204.1 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.3012, allocations: 4.375 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.3012, allocations: 4.375 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.3013, allocations: 62.23 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.3013, allocations: 192 / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3014, allocations: 7.938 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3014, allocations: 0 / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.3015, allocations: 39.86 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.3019, allocations: 320.7 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.3021, allocations: 50.59 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.3022, allocations: 21 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.3022, allocations: 0 / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.3022, allocations: 34.56 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.3022, allocations: 0 / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002396/0.3025, allocations: 69.58 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.3025, allocations: 59.34 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.3027, allocations: 136 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3027, allocations: 29.69 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.3028, allocations: 99.98 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.3028, allocations: 7.906 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.3028, allocations: 21.7 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.303, allocations: 318.8 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.429e-05/0.303, allocations: 19.98 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.38e-05/0.3031, allocations: 19.98 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.786e-05/0.3032, allocations: 37.11 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3032, allocations: 0 / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001295/0.3033, allocations: 69.52 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3033, allocations: 8 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3033, allocations: 3.938 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3034, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.717e-05/0.3034, allocations: 4 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3034, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.3035, allocations: 11.98 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.3035, allocations: 4 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (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 (4): * Single equations (assignments): 4 * 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 8.682e-05/0.3036, allocations: 121.7 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.3037, allocations: 3.906 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.3037, allocations: 16.23 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3037, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3037, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3037, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.3039, allocations: 189.6 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3039, allocations: 0 / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.304, allocations: 0 / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.304, allocations: 4 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.304, allocations: 3.984 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.304, allocations: 0 / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.304, allocations: 0 / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.3042, allocations: 163.3 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.3042, allocations: 81.11 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.3043, allocations: 7.938 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.397e-05/0.3044, allocations: 7.984 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.3044, allocations: 11.98 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.3044, allocations: 0 / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001135/0.3046, allocations: 110 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3046, allocations: 0 / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002185/0.3048, allocations: 11.94 kB / 1.031 GB, free: 12.87 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001698/0.305, allocations: 111.2 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002242/0.3052, allocations: 35.92 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3052, allocations: 0 / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.156e-05/0.3053, allocations: 15.98 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.3055, allocations: 12 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/0.306, allocations: 162.7 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.3065, allocations: 0.6924 MB / 1.032 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.146e-05/0.3065, allocations: 4.266 kB / 1.032 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.3066, allocations: 19.36 kB / 1.032 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of SimCode: time 3.8e-07/0.3066, allocations: 0 / 1.032 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of Templates: time 0.003521/0.3101, allocations: 0.8532 MB / 1.033 GB, free: 10.91 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches