Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Reals.Validation.Greater,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.009367/0.009367, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001857/0.001857, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.4/1.4, 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 11.0.1-master/package.mo): time 2.732/2.732, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 75.89 kB / 1.054 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3208, allocations: 157.4 MB / 1.207 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002263/0.3231, allocations: 0.8695 MB / 1.208 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.3243, allocations: 0.8818 MB / 1.209 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.3244, allocations: 0 / 1.209 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.3246, allocations: 15.81 kB / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.536e-05/0.3247, allocations: 11.88 kB / 1.209 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.3249, allocations: 43.81 kB / 1.209 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.3251, allocations: 103.8 kB / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.3253, allocations: 51.95 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.3254, allocations: 47.78 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.718e-05/0.3255, allocations: 35.84 kB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.3255, allocations: 8 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.464e-05/0.3255, allocations: 8 kB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.754e-05/0.3256, allocations: 19.92 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.3256, allocations: 43.73 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.3258, allocations: 95.92 kB / 1.21 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3258, allocations: 0 / 1.21 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3258, allocations: 0 / 1.21 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.3258, allocations: 4 kB / 1.21 GB, free: 7.828 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006218/0.3264, allocations: 407.1 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3265, allocations: 16.56 kB / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.636e-05/0.3265, allocations: 34.75 kB / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.3266, allocations: 12.75 kB / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.3269, allocations: 208.2 kB / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3269, allocations: 4.375 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.3269, allocations: 4.375 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.3271, allocations: 94.2 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3272, allocations: 3.938 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3272, allocations: 4 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.3272, allocations: 7.984 kB / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.3274, allocations: 71.88 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.3279, allocations: 352.4 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.3282, allocations: 62.55 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.3283, allocations: 44.92 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3283, allocations: 0 / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.3284, allocations: 34.56 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.3284, allocations: 0 / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004176/0.3288, allocations: 117.5 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.3288, allocations: 63.41 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.3289, allocations: 135 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.329, allocations: 25.7 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.329, allocations: 108 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.3291, allocations: 19.81 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.3291, allocations: 17.72 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3292, allocations: 318.8 kB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.3294, allocations: 35.92 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.641e-05/0.3295, allocations: 31.97 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.3297, allocations: 56.75 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.3297, allocations: 3.984 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002505/0.3299, allocations: 101.5 kB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3299, allocations: 4 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.33, allocations: 0 / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.33, allocations: 0 / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.3301, allocations: 15.98 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3301, allocations: 7.922 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.704e-05/0.3302, allocations: 15.98 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.3302, allocations: 0 / 1.212 GB, free: 5.203 MB / 0.9669 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 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001018/0.3303, allocations: 117.8 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.3304, allocations: 7.906 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.3304, allocations: 12.23 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3304, allocations: 4 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3304, allocations: 3.938 kB / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3304, allocations: 0 / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3306, allocations: 189.6 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3306, allocations: 0 / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.691e-05/0.3307, allocations: 20.11 kB / 1.212 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3307, allocations: 4 kB / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.3307, allocations: 0 / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3307, allocations: 0 / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.3307, allocations: 3.938 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.331, allocations: 187.4 kB / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.3311, allocations: 89 kB / 1.212 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.3311, allocations: 0 / 1.212 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.3313, allocations: 15.98 kB / 1.212 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.3313, allocations: 15.92 kB / 1.212 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.3313, allocations: 0 / 1.212 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.292e-05/0.3314, allocations: 104.7 kB / 1.213 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2e-07/0.3314, allocations: 0 / 1.213 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002356/0.3316, allocations: 19.84 kB / 1.213 GB, free: 4.328 MB / 0.9669 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * 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.0007707/0.3324, allocations: 0.7243 MB / 1.213 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002917/0.3327, allocations: 71.94 kB / 1.213 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3327, allocations: 3.938 kB / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.3329, allocations: 39.91 kB / 1.213 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.3332, allocations: 17.8 kB / 1.213 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.3356, allocations: 1.474 MB / 1.215 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.336, allocations: 0.6924 MB / 1.216 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.512e-05/0.336, allocations: 4 kB / 1.216 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/0.3361, allocations: 31.42 kB / 1.216 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.3361, allocations: 0 / 1.216 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/0.3556, allocations: 2.195 MB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.286, allocations: 4.578 kB / 1.218 GB, free: 15.04 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Greater_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Greater.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,gre.u1,gre.u2,gre.y,greHys.y Variables in the result:gre.h,gre.pre_y_start,gre.u1,gre.u2,gre.y,greHys.h,greHys.pre_y_start,greHys.u1,greHys.u2,greHys.y,ram1.duration,ram1.height,ram1.offset,ram1.startTime,ram1.y,sin.amplitude,sin.freqHz,sin.offset,sin.phase,sin.startTime,sin.y,time