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.00149/0.00149, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 198.4 kB / 16.79 MB, free: 6.809 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.377/1.377, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.693/2.693, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 70.78 kB / 0.8991 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2987, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002064/0.3008, allocations: 0.8765 MB / 1.054 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.3018, allocations: 0.8779 MB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.653e-05/0.3019, allocations: 4 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.3021, allocations: 15.86 kB / 1.055 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.907e-05/0.3021, allocations: 3.938 kB / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.3023, allocations: 23.98 kB / 1.055 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.3024, allocations: 63.84 kB / 1.055 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.3025, allocations: 43.81 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.857e-05/0.3026, allocations: 27.86 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.473e-05/0.3027, allocations: 19.86 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.3027, allocations: 4 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.536e-05/0.3028, allocations: 8 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.3028, allocations: 11.92 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.3028, allocations: 31.8 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.402e-05/0.3029, allocations: 60.16 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3029, allocations: 0 / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.02e-07/0.3029, allocations: 0 / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.3029, allocations: 0 / 1.055 GB, free: 6.223 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.0005061/0.3034, allocations: 383.2 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.3035, allocations: 15.97 kB / 1.055 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.3035, allocations: 8.844 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.3037, allocations: 204.1 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.3037, allocations: 4.375 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.3038, allocations: 384 / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.3039, allocations: 62.23 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.3039, allocations: 4.188 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3039, allocations: 3.938 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.304, allocations: 0 / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.3041, allocations: 43.91 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.3045, allocations: 312.7 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.3047, allocations: 54.58 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.997e-05/0.3048, allocations: 20.86 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.3048, allocations: 0 / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.3048, allocations: 30.56 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.3048, allocations: 0 / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002504/0.3051, allocations: 81.59 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.3051, allocations: 55.41 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.3052, allocations: 136.3 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.3052, allocations: 25.7 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.3053, allocations: 99.98 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.3053, allocations: 11.89 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.3054, allocations: 17.72 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.3055, allocations: 322.8 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.36e-05/0.3055, allocations: 12 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-05/0.3056, allocations: 15.98 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.095e-05/0.3057, allocations: 32.84 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3057, allocations: 0 / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000146/0.3058, allocations: 69.84 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3059, allocations: 8 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3059, allocations: 0 / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3059, allocations: 0 / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.919e-05/0.306, allocations: 8 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-06/0.306, allocations: 0 / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.379e-05/0.306, allocations: 11.98 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.3061, allocations: 4 kB / 1.057 GB, free: 3.98 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.317e-05/0.3061, allocations: 129.7 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.3062, allocations: 3.906 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.3062, allocations: 12.25 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3062, allocations: 0 / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3062, allocations: 4 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.3062, allocations: 0 / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.3064, allocations: 185.6 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3064, allocations: 4 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.279e-05/0.3065, allocations: 3.984 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3065, allocations: 4 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3065, allocations: 0 / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3065, allocations: 0 / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.3065, allocations: 7.922 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.3067, allocations: 163.3 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.3067, allocations: 81.11 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.3068, allocations: 4 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.939e-05/0.3069, allocations: 7.984 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.3069, allocations: 7.984 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.3069, allocations: 4 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.417e-05/0.307, allocations: 108.7 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.307, allocations: 0 / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002227/0.3072, allocations: 15.94 kB / 1.057 GB, free: 3.152 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.0001323/0.3074, allocations: 103.2 kB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.3075, allocations: 35.92 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3075, allocations: 0 / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.436e-05/0.3076, allocations: 15.98 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.3079, allocations: 11.94 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.3082, allocations: 210.1 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.3085, allocations: 0.6965 MB / 1.059 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.3085, allocations: 7.438 kB / 1.059 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.3085, allocations: 0 / 1.059 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of Templates: time 0.002255/0.3108, allocations: 0.9698 MB / 1.059 GB, free: 1.047 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 -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