Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.008071/0.008071, 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.001956/0.001956, allocations: 201.6 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.694/2.694, allocations: 469.4 MB / 0.7422 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.89 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2877, allocations: 159.1 MB / 1.22 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.00183/0.2895, allocations: 0.7111 MB / 1.22 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009564/0.2905, allocations: 0.8312 MB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.2906, allocations: 0 / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.2906, allocations: 3.938 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.745e-05/0.2907, allocations: 11.94 kB / 1.221 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.2909, allocations: 27.95 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.814e-05/0.291, allocations: 43.86 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.2911, allocations: 15.98 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.506e-05/0.2912, allocations: 19.92 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.422e-05/0.2913, allocations: 27.84 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.2913, allocations: 4 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.126e-05/0.2913, allocations: 8 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/0.2914, allocations: 15.98 kB / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.2914, allocations: 15.86 kB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.2915, allocations: 47.86 kB / 1.221 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2915, allocations: 0 / 1.221 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2915, allocations: 0 / 1.221 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2915, allocations: 0 / 1.221 GB, free: 12.81 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.0005033/0.2921, allocations: 359.3 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.2921, allocations: 8.031 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.2921, allocations: 42.73 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.2922, allocations: 8.891 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.2923, allocations: 168.4 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.2923, allocations: 4.312 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.2924, allocations: 8.125 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.2926, allocations: 65.66 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.2926, allocations: 0 / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.2926, allocations: 0 / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.2926, allocations: 4 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.2928, allocations: 51.94 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.2932, allocations: 296.7 kB / 1.222 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.2934, allocations: 62.48 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.2936, allocations: 28.91 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.2936, allocations: 11.98 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.2936, allocations: 30.56 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.2936, allocations: 0 / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004175/0.294, allocations: 109.6 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.2941, allocations: 51.41 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.2942, allocations: 117.7 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.2942, allocations: 29.7 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.2943, allocations: 92.08 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.2943, allocations: 7.953 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.2943, allocations: 13.72 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.035e-05/0.2944, allocations: 326.8 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.2945, allocations: 19.98 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.61e-05/0.2946, allocations: 27.97 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.2948, allocations: 48.81 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2948, allocations: 0 / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002429/0.2951, allocations: 93.53 kB / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2951, allocations: 4 kB / 1.223 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2951, allocations: 8 kB / 1.223 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.2951, allocations: 0 / 1.223 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.2953, allocations: 15.98 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2953, allocations: 0 / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.466e-05/0.2954, allocations: 7.984 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.2954, allocations: 3.938 kB / 1.224 GB, free: 10.5 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,intLesEquThr.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.089e-05/0.2955, allocations: 114.4 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.2955, allocations: 0 / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.2955, allocations: 11.91 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2955, allocations: 0 / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2955, allocations: 4 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2955, allocations: 0 / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.2957, allocations: 177.5 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2957, allocations: 7.938 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.009e-05/0.2958, allocations: 11.98 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2958, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.2958, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2959, allocations: 3.938 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2959, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.2961, allocations: 183.4 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.2962, allocations: 89.05 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.2962, allocations: 0 / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.2963, allocations: 8 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.2964, allocations: 8.359 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.2964, allocations: 4 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.514e-05/0.2964, allocations: 91.2 kB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2964, allocations: 4 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002261/0.2967, allocations: 11.94 kB / 1.224 GB, free: 9.68 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 (intLesEquThr.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.0005537/0.2972, allocations: 0.7241 MB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002504/0.2975, allocations: 55.94 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2975, allocations: 0 / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.2976, allocations: 39.91 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.2979, allocations: 6.062 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.2995, allocations: 1.323 MB / 1.226 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.2997, allocations: 0.6807 MB / 1.227 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.841e-05/0.2998, allocations: 4 kB / 1.227 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/0.2998, allocations: 23.42 kB / 1.227 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of SimCode: time 1.824e-06/0.2998, allocations: 0 / 1.227 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.3152, allocations: 1.867 MB / 1.229 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.502/7.817, allocations: 7.875 kB / 1.229 GB, free: 4.969 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_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_LessEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches