Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_10_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.007854/0.007854, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.001869/0.001869, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 437 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 71.88 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2772, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001932/0.2792, allocations: 0.7053 MB / 1.167 GB, free: 6.594 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.2802, allocations: 0.8393 MB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.843e-05/0.2803, allocations: 0 / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.778e-05/0.2804, allocations: 7.922 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.864e-05/0.2805, allocations: 7.938 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.2806, allocations: 19.98 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.885e-05/0.2807, allocations: 43.91 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2808, allocations: 15.98 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.398e-05/0.2809, allocations: 19.92 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.252e-05/0.281, allocations: 23.91 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.281, allocations: 4 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.281, allocations: 4 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.2811, allocations: 27.84 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.2811, allocations: 15.94 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.2812, allocations: 48.02 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.254e-05/0.2812, allocations: 0 / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2812, allocations: 0 / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2812, allocations: 3.938 kB / 1.168 GB, free: 5.504 MB / 0.92 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.0005025/0.2817, allocations: 359.3 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.2818, allocations: 12.03 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.2818, allocations: 30.75 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.552e-05/0.2819, allocations: 4.938 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.2821, allocations: 180.2 kB / 1.168 GB, free: 4.836 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.2821, allocations: 8.375 kB / 1.168 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.2821, allocations: 4.125 kB / 1.168 GB, free: 4.824 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.2823, allocations: 69.59 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2823, allocations: 0 / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.2823, allocations: 3.984 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2823, allocations: 0 / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.2825, allocations: 55.95 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.283, allocations: 284.8 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.2832, allocations: 66.48 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.2833, allocations: 32.91 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.2833, allocations: 4 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.2833, allocations: 34.56 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.2834, allocations: 0 / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004188/0.2838, allocations: 105.6 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.2838, allocations: 55.34 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.072e-05/0.2839, allocations: 105.8 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.2839, allocations: 29.7 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.284, allocations: 96.08 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.284, allocations: 8.016 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.284, allocations: 17.72 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2842, allocations: 318.8 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.2843, allocations: 35.92 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.243e-05/0.2844, allocations: 23.97 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.2846, allocations: 52.81 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2846, allocations: 0 / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002339/0.2848, allocations: 89.53 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2848, allocations: 4 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2848, allocations: 0 / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2849, allocations: 0 / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.285, allocations: 19.98 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.285, allocations: 4 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.536e-05/0.2851, allocations: 7.984 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.2851, allocations: 3.938 kB / 1.17 GB, free: 3.188 MB / 0.92 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 7.217e-05/0.2852, allocations: 113.8 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.2852, allocations: 4 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/0.2852, allocations: 7.906 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.2853, allocations: 3.938 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2853, allocations: 4 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2853, allocations: 0 / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.2854, allocations: 173.6 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2854, allocations: 4.328 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.828e-05/0.2855, allocations: 15.98 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.2855, allocations: 0 / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.2856, allocations: 0 / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2856, allocations: 320 / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2856, allocations: 0 / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.2859, allocations: 195.3 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.2859, allocations: 85.09 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.2859, allocations: 0 / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.286, allocations: 4 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.2861, allocations: 11.98 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.2861, allocations: 3.984 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.424e-05/0.2861, allocations: 95.2 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2862, allocations: 4 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002247/0.2864, allocations: 7.953 kB / 1.171 GB, free: 2.367 MB / 0.92 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.0005267/0.2869, allocations: 0.7163 MB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002388/0.2872, allocations: 55.94 kB / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2872, allocations: 3.938 kB / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.2873, allocations: 31.97 kB / 1.171 GB, free: 1.535 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.2876, allocations: 8 kB / 1.171 GB, free: 1.527 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.289, allocations: 1.323 MB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.2893, allocations: 0.6807 MB / 1.173 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.281e-05/0.2893, allocations: 4 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.2894, allocations: 19.42 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.2894, allocations: 0 / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.3061, allocations: 1.844 MB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/7.943, allocations: 17.42 kB / 1.175 GB, free: 13.65 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches