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.008547/0.008555, allocations: 104.7 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.001982/0.001982, allocations: 199.2 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.518/1.518, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.715/2.715, allocations: 437 MB / 0.7105 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3249, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.00221/0.3272, allocations: 0.7117 MB / 1.167 GB, free: 6.574 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.3283, allocations: 0.8354 MB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.3284, allocations: 0 / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.308e-05/0.3284, allocations: 3.938 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.96e-05/0.3285, allocations: 7.922 kB / 1.168 GB, free: 5.715 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.3287, allocations: 27.98 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.401e-05/0.3288, allocations: 39.91 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.3289, allocations: 19.98 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.747e-05/0.329, allocations: 27.86 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.473e-05/0.3291, allocations: 19.91 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.3291, allocations: 4 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.534e-05/0.3291, allocations: 4 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.444e-05/0.3292, allocations: 15.92 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.488e-05/0.3292, allocations: 19.92 kB / 1.168 GB, free: 5.539 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.3293, allocations: 47.8 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3293, allocations: 4 kB / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3293, allocations: 0 / 1.168 GB, free: 5.488 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.3294, allocations: 0 / 1.168 GB, free: 5.488 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.0005251/0.3299, allocations: 354.3 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3299, allocations: 12.03 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.229e-05/0.33, allocations: 34.75 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.33, allocations: 4.844 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.3302, allocations: 177.1 kB / 1.168 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.3302, allocations: 12.31 kB / 1.168 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.3303, allocations: 4.125 kB / 1.168 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.3305, allocations: 65.66 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3305, allocations: 0 / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.3305, allocations: 8 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3305, allocations: 0 / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.3307, allocations: 47.95 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/0.3313, allocations: 300.6 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.3315, allocations: 62.55 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.3316, allocations: 28.91 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.3316, allocations: 0 / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.3317, allocations: 38.56 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3317, allocations: 0 / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004415/0.3321, allocations: 109.6 kB / 1.169 GB, free: 4.082 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.3322, allocations: 51.41 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.039e-05/0.3323, allocations: 105.8 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.844e-05/0.3323, allocations: 25.7 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.3324, allocations: 96.11 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.3324, allocations: 15.89 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.3325, allocations: 17.66 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3326, allocations: 322.8 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.3327, allocations: 23.98 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.137e-05/0.3328, allocations: 23.97 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.333, allocations: 52.81 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.333, allocations: 0 / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002535/0.3333, allocations: 89.83 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3333, allocations: 4 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3333, allocations: 0 / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3333, allocations: 7.984 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.3335, allocations: 7.984 kB / 1.17 GB, free: 3.199 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3335, allocations: 4 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.525e-05/0.3336, allocations: 11.94 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.3336, allocations: 7.922 kB / 1.17 GB, free: 3.176 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 8.645e-05/0.3337, allocations: 117.8 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.3337, allocations: 0 / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.3337, allocations: 11.91 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3337, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3337, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3338, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.3339, allocations: 173.6 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.334, allocations: 4 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.931e-05/0.3341, allocations: 15.98 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3341, allocations: 0 / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.3341, allocations: 3.938 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3341, allocations: 0 / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3341, allocations: 0 / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.3344, allocations: 183.3 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.3345, allocations: 85.11 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.3345, allocations: 3.984 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3346, allocations: 11.94 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.3347, allocations: 11.98 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.3347, allocations: 0 / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.143e-05/0.3347, allocations: 95.2 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3348, allocations: 0 / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002307/0.335, allocations: 4 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.0005775/0.3356, allocations: 0.7279 MB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002472/0.3358, allocations: 51.94 kB / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3358, allocations: 0 / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.336, allocations: 43.91 kB / 1.171 GB, free: 1.52 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.3363, allocations: 4 kB / 1.171 GB, free: 1.516 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.3379, allocations: 1.311 MB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.3384, allocations: 0.6807 MB / 1.173 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.547e-05/0.3384, allocations: 8 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.3385, allocations: 23.42 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/0.3385, allocations: 0 / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.3581, allocations: 1.847 MB / 1.175 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/8.012, allocations: 14.11 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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) "" Variables in the reference:time,intGreThr.t,intGreThr.u,intGreThr.y Variables in the result:intGreThr.t,intGreThr.u,intGreThr.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt.u,reaToInt.y,round1.n,round1.u,round1.y,time