Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.001926/0.001926, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002263/0.002263, allocations: 193 kB / 16.25 MB, free: 6.629 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.342/1.342, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.624/2.624, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 68.83 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2877, allocations: 157.4 MB / 1.052 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.00205/0.2898, allocations: 0.768 MB / 1.053 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009521/0.2908, allocations: 0.843 MB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.021e-05/0.2909, allocations: 0 / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.822e-05/0.2909, allocations: 0 / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.213e-05/0.291, allocations: 7.938 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.2912, allocations: 15.98 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.338e-05/0.2913, allocations: 51.83 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.2914, allocations: 12 kB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.34e-05/0.2915, allocations: 23.92 kB / 1.054 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.242e-05/0.2915, allocations: 23.91 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.2916, allocations: 7.984 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.2916, allocations: 8 kB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.2916, allocations: 4 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.2916, allocations: 23.86 kB / 1.054 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.2918, allocations: 47.84 kB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2918, allocations: 3.938 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2918, allocations: 0 / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.2918, allocations: 0 / 1.054 GB, free: 6.797 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005297/0.2923, allocations: 359.7 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.2924, allocations: 12.62 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.2924, allocations: 34.75 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.2925, allocations: 4.844 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.2926, allocations: 172.3 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.2926, allocations: 8.375 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.2926, allocations: 384 / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.2929, allocations: 69.59 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.2929, allocations: 4 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.2929, allocations: 0 / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2929, allocations: 3.984 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.2931, allocations: 51.89 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.2935, allocations: 300.6 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.2937, allocations: 62.55 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.2939, allocations: 32.91 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.2939, allocations: 7.938 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.2939, allocations: 30.56 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.2939, allocations: 3.938 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003946/0.2943, allocations: 105.6 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.2944, allocations: 51.41 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.614e-05/0.2945, allocations: 109.8 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.2945, allocations: 25.7 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.314e-05/0.2945, allocations: 96.03 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.2945, allocations: 3.906 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.2946, allocations: 21.72 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.36e-05/0.2947, allocations: 322.8 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.2948, allocations: 23.92 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.628e-05/0.2949, allocations: 23.97 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.2951, allocations: 52.81 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2951, allocations: 0 / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002207/0.2953, allocations: 81.66 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2953, allocations: 4 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2953, allocations: 0 / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.2954, allocations: 7.984 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.2955, allocations: 7.984 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.2955, allocations: 4 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.509e-05/0.2956, allocations: 11.94 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.2956, allocations: 3.984 kB / 1.056 GB, free: 4.492 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: 2 (reaToInt.y,intLesThr.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.349e-05/0.2957, allocations: 119.3 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.2957, allocations: 3.906 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/0.2958, allocations: 11.91 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2958, allocations: 0 / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2958, allocations: 0 / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.2958, allocations: 0 / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.296, allocations: 181.5 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.296, allocations: 3.938 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.748e-05/0.2961, allocations: 12.31 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2961, allocations: 4 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.2961, allocations: 0 / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.2961, allocations: 4 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2961, allocations: 0 / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.2964, allocations: 195.3 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.2964, allocations: 81.11 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.2964, allocations: 3.984 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.2965, allocations: 8 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.2966, allocations: 11.98 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.2966, allocations: 0 / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.951e-05/0.2967, allocations: 95.56 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2967, allocations: 0 / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000219/0.2969, allocations: 15.88 kB / 1.057 GB, free: 3.66 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 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0005478/0.2975, allocations: 0.7163 MB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.2977, allocations: 59.88 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2977, allocations: 0 / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.2978, allocations: 31.97 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.2981, allocations: 13.03 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.2996, allocations: 1.319 MB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.2998, allocations: 0.6846 MB / 1.06 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.402e-05/0.2999, allocations: 4 kB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.2999, allocations: 27.36 kB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2999, allocations: 3.938 kB / 1.06 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9989/1.299, allocations: 1.646 MB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000253/1.299, allocations: 219.3 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/3.697, allocations: 0 / 1.062 GB, free: 14.91 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches