Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.00725/0.00725, allocations: 102 kB / 15.73 MB, free: 6.035 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.001471/0.001471, allocations: 187.9 kB / 16.67 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.517/2.517, allocations: 390.3 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 68.64 kB / 0.9504 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2862, allocations: 140.4 MB / 1.087 GB, free: 2.094 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002122/0.2883, allocations: 0.6818 MB / 1.088 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.2894, allocations: 0.8393 MB / 1.089 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/0.2895, allocations: 3.938 kB / 1.089 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.2895, allocations: 7.922 kB / 1.089 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.585e-05/0.2896, allocations: 7.938 kB / 1.089 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.2898, allocations: 19.97 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.691e-05/0.2899, allocations: 47.84 kB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.29, allocations: 12 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.028e-05/0.2901, allocations: 23.92 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.48e-05/0.2901, allocations: 27.89 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.2902, allocations: 4 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.2902, allocations: 4 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.74e-05/0.2902, allocations: 7.984 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.2902, allocations: 23.81 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.2904, allocations: 51.84 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2904, allocations: 8 kB / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2904, allocations: 0 / 1.089 GB, free: 320 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.2904, allocations: 0 / 1.089 GB, free: 320 kB / 0.8419 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.0005556/0.291, allocations: 350.3 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.291, allocations: 8.031 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.119e-05/0.291, allocations: 34.75 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.2911, allocations: 8.844 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.2913, allocations: 177.1 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.2913, allocations: 4.375 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.2913, allocations: 8.125 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.2915, allocations: 65.59 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2916, allocations: 0 / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.2916, allocations: 7.938 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2916, allocations: 4 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/0.2918, allocations: 43.95 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.2923, allocations: 300.7 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.2926, allocations: 62.48 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.2927, allocations: 32.91 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.2927, allocations: 0 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.2928, allocations: 38.56 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.2928, allocations: 0 / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000485/0.2933, allocations: 105.6 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.2933, allocations: 51.41 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.2935, allocations: 117.8 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.2935, allocations: 29.7 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.077e-05/0.2936, allocations: 88.03 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.2936, allocations: 15.91 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.2937, allocations: 13.72 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2939, allocations: 322.8 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.294, allocations: 23.92 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.861e-05/0.2941, allocations: 23.97 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.2943, allocations: 56.81 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2943, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002493/0.2946, allocations: 77.66 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.2946, allocations: 13.7 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2946, allocations: 3.938 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.2946, allocations: 0 / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.2948, allocations: 11.98 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2948, allocations: 0 / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.474e-05/0.2949, allocations: 19.83 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.2949, allocations: 7.938 kB / 1.091 GB, free: 14 MB / 0.8575 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,intGreThr.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 0.0001133/0.295, allocations: 110.2 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.2951, allocations: 4 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/0.2951, allocations: 7.906 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.2951, allocations: 3.984 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2951, allocations: 3.938 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2951, allocations: 4 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.2953, allocations: 173.6 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.2953, allocations: 4 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.976e-05/0.2954, allocations: 11.98 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.2954, allocations: 0 / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.2955, allocations: 0 / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.2955, allocations: 4 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2955, allocations: 0 / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.2958, allocations: 187.3 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.2959, allocations: 81.11 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.2959, allocations: 3.984 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.296, allocations: 8 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.2961, allocations: 7.984 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.2961, allocations: 4 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.367e-05/0.2961, allocations: 91.2 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2962, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00023/0.2964, allocations: 8 kB / 1.092 GB, free: 13.2 MB / 0.8575 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 (intGreThr.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.0007179/0.2971, allocations: 0.7201 MB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.2974, allocations: 55.94 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2974, allocations: 4 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.2975, allocations: 35.97 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.2979, allocations: 3.938 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.2997, allocations: 1.328 MB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.3, allocations: 0.6807 MB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.923e-05/0.3001, allocations: 11.94 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/0.3002, allocations: 23.42 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.3002, allocations: 0 / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.3179, allocations: 1.842 MB / 1.097 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.658/7.976, allocations: 9.297 kB / 1.097 GB, free: 8.473 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches