Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.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.Greater,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Greater",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.006448/0.006448, allocations: 100.2 kB / 15.73 MB, free: 6.031 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.001244/0.001244, allocations: 187.7 kB / 16.67 MB, free: 5.965 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.16 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.42/2.42, allocations: 390.3 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 64.56 kB / 0.9504 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3261, 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.Greater): time 0.002207/0.3283, allocations: 0.7818 MB / 1.088 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.3295, allocations: 0.8584 MB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.782e-05/0.3296, allocations: 0 / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.655e-05/0.3297, allocations: 7.922 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.3298, allocations: 11.88 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.33, allocations: 43.94 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.3302, allocations: 83.83 kB / 1.089 GB, free: 196 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.3303, allocations: 27.91 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.3304, allocations: 35.92 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.3306, allocations: 47.81 kB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.3306, allocations: 8 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.953e-05/0.3306, allocations: 12 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.048e-05/0.3307, allocations: 23.91 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.307e-05/0.3307, allocations: 39.73 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.3309, allocations: 79.72 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3309, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3309, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3309, allocations: 4 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007723/0.3317, allocations: 394.9 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3318, allocations: 12.03 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.3318, allocations: 38.75 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/0.3319, allocations: 8.844 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.332, allocations: 184.1 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.3321, allocations: 4.375 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.3321, allocations: 16.06 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.3324, allocations: 99.86 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.3325, allocations: 0 / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.3325, allocations: 8 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3325, allocations: 0 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003878/0.3329, allocations: 99.89 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006125/0.3335, allocations: 340.6 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006419/0.3342, allocations: 126.5 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.3344, allocations: 52.81 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.3344, allocations: 4 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.3344, allocations: 34.5 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.876e-06/0.3344, allocations: 7.984 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0007113/0.3352, allocations: 181.4 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.3352, allocations: 55.41 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3353, allocations: 125.8 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.3354, allocations: 29.7 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.639e-05/0.3354, allocations: 99.97 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.3355, allocations: 11.81 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/0.3355, allocations: 25.7 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.3357, allocations: 314.8 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.3359, allocations: 43.95 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.3361, allocations: 47.95 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.3364, allocations: 100.7 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3364, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004235/0.3368, allocations: 145.5 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3369, allocations: 4 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3369, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3369, allocations: 0 / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.3371, allocations: 23.97 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3371, allocations: 7.875 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.3372, allocations: 19.92 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3372, allocations: 4 kB / 1.092 GB, free: 13.07 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: 3 (reaToInt1.y,reaToInt.y,intGre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001034/0.3373, allocations: 125.8 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.3374, allocations: 7.906 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.3374, allocations: 8.375 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3374, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3374, allocations: 3.938 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3375, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.3377, allocations: 197.6 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3377, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.3378, allocations: 23.97 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3379, allocations: 4 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3379, allocations: 4 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3379, allocations: 0 / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3379, allocations: 7.938 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.3384, allocations: 231.3 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.3384, allocations: 89.02 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.3385, allocations: 3.984 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.3386, allocations: 11.98 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.508e-05/0.3387, allocations: 31.84 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.3388, allocations: 4 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.455e-05/0.3388, allocations: 95.7 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3388, allocations: 0 / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002338/0.3391, allocations: 12 kB / 1.093 GB, free: 12.14 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: 3 (intGre.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0008169/0.3399, allocations: 0.7684 MB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004555/0.3404, allocations: 112.6 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3404, allocations: 0 / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.3406, allocations: 51.95 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.3409, allocations: 16.52 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.3434, allocations: 1.541 MB / 1.095 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.3437, allocations: 0.6923 MB / 1.096 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.761e-05/0.3438, allocations: 15.75 kB / 1.096 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.021e-05/0.3439, allocations: 35.41 kB / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.3439, allocations: 0 / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.3655, allocations: 2.76 MB / 1.099 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.887/8.252, allocations: 11.8 kB / 1.099 GB, free: 6.102 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Greater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Greater.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,intGre.u1,intGre.u2,intGre.y Variables in the result:intGre.u1,intGre.u2,intGre.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,ramp2.y,reaToInt.u,reaToInt.y,reaToInt1.u,reaToInt1.y,round1.n,round1.u,round1.y,round2.n,round2.u,round2.y,time