Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Reals.Validation.Greater,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,fileNamePrefix="Buildings_10_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.009604/0.009604, allocations: 100.8 kB / 15.73 MB, free: 6.016 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.002364/0.002364, allocations: 190.7 kB / 16.67 MB, free: 5.934 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.498/2.498, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 75.89 kB / 1.018 GB, free: 9.84 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6878/0.6891, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.001855/0.691, allocations: 0.8777 MB / 1.167 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000999/0.692, allocations: 0.8858 MB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.377e-05/0.6921, allocations: 7.938 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.6922, allocations: 11.86 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.205e-05/0.6923, allocations: 7.875 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.6925, allocations: 47.89 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.6926, allocations: 103.7 kB / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.6927, allocations: 47.92 kB / 1.168 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.6929, allocations: 39.84 kB / 1.168 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.078e-05/0.6929, allocations: 47.77 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.693, allocations: 4 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.693, allocations: 8 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.61e-05/0.693, allocations: 19.92 kB / 1.168 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.6931, allocations: 39.73 kB / 1.168 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.6932, allocations: 99.3 kB / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6932, allocations: 0 / 1.168 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.173e-06/0.6932, allocations: 4 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.6932, allocations: 0 / 1.168 GB, free: 1.527 MB / 0.8887 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.0005722/0.6938, allocations: 411 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.6938, allocations: 8.922 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.6939, allocations: 42.73 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.6939, allocations: 8.891 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.6941, allocations: 216.1 kB / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.6942, allocations: 4.375 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.6942, allocations: 8.375 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.6944, allocations: 86.2 kB / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.6944, allocations: 3.938 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.6945, allocations: 0 / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.6945, allocations: 7.984 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/0.6947, allocations: 67.95 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004661/0.6952, allocations: 344.6 kB / 1.17 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.6954, allocations: 66.47 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.6956, allocations: 40.92 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.6956, allocations: 4 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.6956, allocations: 30.56 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.6956, allocations: 0 / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004577/0.6961, allocations: 125.6 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.6961, allocations: 51.41 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.6962, allocations: 140.2 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.6962, allocations: 33.58 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.6963, allocations: 108 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.6963, allocations: 7.953 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.6964, allocations: 17.72 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.665e-05/0.6965, allocations: 318.8 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.6966, allocations: 35.97 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.6967, allocations: 31.97 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.6969, allocations: 56.94 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.697, allocations: 0 / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002719/0.6972, allocations: 105.5 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.6973, allocations: 4 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.6973, allocations: 0 / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.6973, allocations: 4.188 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.6974, allocations: 11.92 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.6974, allocations: 7.938 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.6975, allocations: 19.92 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.6975, allocations: 4 kB / 1.171 GB, free: 14.91 MB / 0.9044 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 8.117e-05/0.6976, allocations: 117.8 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.6977, allocations: 4 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.6977, allocations: 16.25 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.6977, allocations: 0 / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6977, allocations: 3.938 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.6977, allocations: 0 / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.6979, allocations: 189.6 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6979, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.385e-05/0.698, allocations: 15.98 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.698, allocations: 0 / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.698, allocations: 0 / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.698, allocations: 7.984 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.698, allocations: 3.938 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.6983, allocations: 187.4 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/0.6984, allocations: 85.05 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.6984, allocations: 12.06 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.6986, allocations: 15.97 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.6986, allocations: 11.92 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.6986, allocations: 0 / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.277e-05/0.6987, allocations: 107.2 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6987, allocations: 0 / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002306/0.6989, allocations: 11.95 kB / 1.171 GB, free: 14.03 MB / 0.9044 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.0005624/0.6995, allocations: 0.7319 MB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002775/0.6998, allocations: 67.94 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6998, allocations: 0 / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.6999, allocations: 31.97 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.7002, allocations: 18.28 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.7018, allocations: 1.489 MB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.7021, allocations: 0.6924 MB / 1.174 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.172e-05/0.7021, allocations: 0 / 1.174 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.657e-05/0.7022, allocations: 31.42 kB / 1.174 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.7022, allocations: 0 / 1.174 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01593/0.7181, allocations: 2.2 MB / 1.177 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.325/8.043, allocations: 5.844 kB / 1.177 GB, free: 8.73 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Greater.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches