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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 108 kB / 15.61 MB, free: 152 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.001136/0.001136, allocations: 197 kB / 16.53 MB, free: 6.664 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.542/2.542, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 71.05 kB / 0.8992 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2997, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002223/0.302, allocations: 0.8226 MB / 1.054 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3031, allocations: 0.8818 MB / 1.055 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.3032, allocations: 0 / 1.055 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.3034, allocations: 19.8 kB / 1.055 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.393e-05/0.3035, allocations: 7.875 kB / 1.055 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.3037, allocations: 31.95 kB / 1.055 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.3038, allocations: 75.78 kB / 1.055 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.3039, allocations: 27.88 kB / 1.055 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.622e-05/0.304, allocations: 31.92 kB / 1.055 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.214e-05/0.3041, allocations: 35.83 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.3042, allocations: 4 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.43e-05/0.3042, allocations: 4 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.3042, allocations: 15.92 kB / 1.055 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.3043, allocations: 27.81 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.3044, allocations: 83.95 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3044, allocations: 0 / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3044, allocations: 0 / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3044, allocations: 0 / 1.055 GB, free: 6.227 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.000533/0.305, allocations: 387.1 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.305, allocations: 12.62 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.158e-05/0.3051, allocations: 34.75 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.3051, allocations: 12.78 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.3053, allocations: 192.2 kB / 1.056 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3053, allocations: 4.375 kB / 1.056 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.3053, allocations: 4.375 kB / 1.056 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.3055, allocations: 66.11 kB / 1.056 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3055, allocations: 7.938 kB / 1.056 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3055, allocations: 4 kB / 1.056 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.3055, allocations: 4 kB / 1.056 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.3056, allocations: 31.97 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.3061, allocations: 324.6 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.3063, allocations: 46.61 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.004e-05/0.3064, allocations: 20.94 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.3064, allocations: 7.984 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.3064, allocations: 30.56 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.3064, allocations: 4 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002428/0.3067, allocations: 73.61 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.3067, allocations: 51.41 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.3068, allocations: 135.5 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.3068, allocations: 29.7 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.3069, allocations: 108 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.3069, allocations: 3.906 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.307, allocations: 17.72 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.3071, allocations: 330.8 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.996e-05/0.3071, allocations: 15.98 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-05/0.3072, allocations: 12 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.819e-05/0.3072, allocations: 24.84 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3073, allocations: 0 / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000134/0.3074, allocations: 73.52 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.3074, allocations: 4 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3074, allocations: 4 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3074, allocations: 4 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.018e-05/0.3075, allocations: 7.984 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.3075, allocations: 4 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.91e-05/0.3076, allocations: 7.984 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.3076, allocations: 3.938 kB / 1.057 GB, free: 3.93 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.178e-05/0.3077, allocations: 113.8 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.3078, allocations: 11.84 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.3078, allocations: 16.25 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3078, allocations: 0 / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.3078, allocations: 0 / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3078, allocations: 3.984 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.308, allocations: 181.6 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.308, allocations: 3.938 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.308, allocations: 7.938 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.308, allocations: 0 / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.3081, allocations: 0 / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3081, allocations: 4 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3081, allocations: 7.984 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.3082, allocations: 159.4 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.3083, allocations: 81.09 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3083, allocations: 4 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.561e-05/0.3084, allocations: 11.98 kB / 1.058 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.3085, allocations: 8.359 kB / 1.058 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.3085, allocations: 0 / 1.058 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.228e-05/0.3085, allocations: 116 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3085, allocations: 0 / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002164/0.3088, allocations: 11.94 kB / 1.058 GB, free: 3.105 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.0004617/0.3092, allocations: 0.6967 MB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.3094, allocations: 39.97 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3094, allocations: 0 / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.282e-05/0.3095, allocations: 19.92 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.3098, allocations: 14.19 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.3111, allocations: 1.369 MB / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.3113, allocations: 0.6885 MB / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.981e-05/0.3113, allocations: 7.984 kB / 1.06 GB, free: 148 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.3114, allocations: 23.44 kB / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.3114, allocations: 0 / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.476/1.787, allocations: 1.971 MB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.313/9.1, allocations: 0 / 1.062 GB, free: 14.25 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > 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