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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> 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.006481/0.006481, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001613/0.001613, allocations: 201.8 kB / 16.68 MB, free: 5.969 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.74/2.74, allocations: 469.4 MB / 0.7422 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 63.91 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.29, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001759/0.2918, allocations: 0.7062 MB / 1.22 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008616/0.2926, allocations: 0.8312 MB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.036e-05/0.2927, allocations: 0 / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.2927, allocations: 3.938 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.977e-05/0.2928, allocations: 3.938 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.293, allocations: 19.98 kB / 1.221 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.899e-05/0.293, allocations: 51.84 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.2932, allocations: 19.97 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.563e-05/0.2932, allocations: 19.92 kB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.105e-05/0.2933, allocations: 23.92 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.2933, allocations: 7.938 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.2933, allocations: 4 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.2934, allocations: 11.98 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.2934, allocations: 23.86 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.498e-05/0.2935, allocations: 39.86 kB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2935, allocations: 0 / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2935, allocations: 0 / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2935, allocations: 0 / 1.221 GB, free: 12.86 MB / 0.9825 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.0004724/0.294, allocations: 367.3 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.294, allocations: 8.031 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.2941, allocations: 42.72 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.2941, allocations: 8.828 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.2942, allocations: 168.4 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.2943, allocations: 384 / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.2943, allocations: 8.125 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.2945, allocations: 69.58 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2945, allocations: 8 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.2945, allocations: 3.938 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2945, allocations: 4 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.2947, allocations: 55.94 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.2952, allocations: 284.8 kB / 1.222 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.2954, allocations: 74.5 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.2956, allocations: 24.89 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.2956, allocations: 0 / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.2956, allocations: 30.56 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.2956, allocations: 4 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004287/0.2961, allocations: 109.6 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.2961, allocations: 59.34 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.316e-05/0.2962, allocations: 109.8 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.2962, allocations: 25.7 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.2963, allocations: 88.09 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.2963, allocations: 7.953 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.2963, allocations: 21.7 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2964, allocations: 322.8 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.2965, allocations: 23.97 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.484e-05/0.2967, allocations: 23.98 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.2968, allocations: 48.81 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2969, allocations: 0 / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002495/0.2971, allocations: 97.53 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2971, allocations: 4 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2971, allocations: 0 / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2972, allocations: 0 / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.2973, allocations: 11.98 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2973, allocations: 0 / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.218e-05/0.2974, allocations: 11.98 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.2974, allocations: 3.938 kB / 1.224 GB, free: 10.54 MB / 0.9825 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.456e-05/0.2975, allocations: 118.7 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.2975, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.2976, allocations: 7.891 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2976, allocations: 4 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2976, allocations: 7.922 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2976, allocations: 0 / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.2978, allocations: 181.6 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2978, allocations: 3.938 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.038e-05/0.2979, allocations: 11.98 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2979, allocations: 0 / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.2979, allocations: 7.984 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2979, allocations: 4 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2979, allocations: 0 / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.2982, allocations: 183.4 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.2983, allocations: 81.06 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.2983, allocations: 4 kB / 1.224 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.2984, allocations: 7.984 kB / 1.224 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.2985, allocations: 19.98 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.2985, allocations: 0 / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.609e-05/0.2986, allocations: 91.22 kB / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2986, allocations: 0 / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002255/0.2988, allocations: 7.938 kB / 1.224 GB, free: 9.711 MB / 0.9825 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.0005972/0.2994, allocations: 0.7241 MB / 1.225 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002643/0.2997, allocations: 51.95 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2997, allocations: 0 / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.2998, allocations: 35.97 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.3001, allocations: 3.938 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.3016, allocations: 1.328 MB / 1.226 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.3018, allocations: 0.6807 MB / 1.227 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.809e-05/0.3019, allocations: 15.92 kB / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/0.302, allocations: 15.44 kB / 1.227 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.302, allocations: 0 / 1.227 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.3187, allocations: 1.849 MB / 1.229 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.443/7.762, allocations: 14.25 kB / 1.229 GB, free: 4.984 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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