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.001246/0.001246, allocations: 108.6 kB / 15.73 MB, free: 72 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.001338/0.001339, allocations: 186.8 kB / 16.66 MB, free: 6.602 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.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.408/2.408, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.14 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2945, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002019/0.2965, allocations: 0.6963 MB / 1.088 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.2976, allocations: 0.8316 MB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-05/0.2976, allocations: 0 / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.188e-05/0.2977, allocations: 3.938 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.997e-05/0.2978, allocations: 3.938 kB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.2979, allocations: 27.91 kB / 1.089 GB, free: 424 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.626e-05/0.298, allocations: 47.91 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.2982, allocations: 15.98 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.291e-05/0.2982, allocations: 19.88 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.321e-05/0.2983, allocations: 31.89 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.2983, allocations: 4 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.2983, allocations: 4 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.2984, allocations: 7.984 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.2984, allocations: 19.88 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.951e-05/0.2985, allocations: 52.06 kB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2985, allocations: 0 / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2985, allocations: 0 / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.2985, allocations: 7.938 kB / 1.089 GB, free: 212 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.000549/0.2991, allocations: 355.4 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.2991, allocations: 8.031 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.2992, allocations: 30.75 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.2992, allocations: 12.89 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.2994, allocations: 180.2 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.2994, allocations: 384 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.2994, allocations: 8.125 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.2996, allocations: 73.58 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.2997, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.2997, allocations: 4 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.2997, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.2999, allocations: 47.95 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.3004, allocations: 296.7 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.3006, allocations: 62.55 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.3007, allocations: 36.91 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3008, allocations: 3.984 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.3008, allocations: 30.56 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3008, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004262/0.3012, allocations: 117.5 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.3013, allocations: 51.41 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.531e-05/0.3014, allocations: 109.8 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.3014, allocations: 25.7 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.3015, allocations: 88.12 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.3015, allocations: 11.91 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.3015, allocations: 21.72 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3017, allocations: 322.8 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.3018, allocations: 19.98 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.389e-05/0.3019, allocations: 23.97 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.3021, allocations: 52.81 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3021, allocations: 0 / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002417/0.3024, allocations: 93.58 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3024, allocations: 4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3024, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3024, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.3025, allocations: 11.98 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3026, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.978e-05/0.3026, allocations: 7.984 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.3027, allocations: 7.938 kB / 1.091 GB, free: 13.9 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.0001006/0.3028, allocations: 117.8 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.3028, allocations: 7.953 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/0.3028, allocations: 7.844 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3028, allocations: 3.938 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3029, allocations: 4 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3029, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.3031, allocations: 177.6 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3031, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/0.3032, allocations: 11.98 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3032, allocations: 7.938 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.3032, allocations: 4 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3032, allocations: 0 / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3032, allocations: 3.984 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.3035, allocations: 179.4 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.3036, allocations: 81.09 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.3036, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3037, allocations: 15.98 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.3037, allocations: 8.375 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.3038, allocations: 3.984 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.344e-05/0.3038, allocations: 87.22 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3038, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002254/0.304, allocations: 8 kB / 1.092 GB, free: 13.09 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.0006154/0.3047, allocations: 0.728 MB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002561/0.3049, allocations: 51.95 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3049, allocations: 0 / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.3051, allocations: 39.91 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.3054, allocations: 8 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.3069, allocations: 1.318 MB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.3072, allocations: 0.6807 MB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.592e-05/0.3073, allocations: 8 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.3074, allocations: 19.42 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3074, allocations: 0 / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.3252, allocations: 1.853 MB / 1.097 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.593/7.918, allocations: 8.047 kB / 1.097 GB, free: 8.359 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