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.006327/0.006327, allocations: 100 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.001475/0.001475, allocations: 187.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.288/2.288, 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 4.048/4.048, allocations: 437.1 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002979/0.002979, allocations: 71.89 kB / 1.018 GB, free: 9.824 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091/1.094, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.003258/1.098, allocations: 0.8698 MB / 1.167 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00213/1.1, allocations: 0.8935 MB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/1.1, allocations: 0 / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001935/1.1, allocations: 15.88 kB / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.424e-05/1.1, allocations: 15.8 kB / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/1.1, allocations: 35.95 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000239/1.101, allocations: 103.7 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/1.101, allocations: 43.98 kB / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/1.101, allocations: 43.78 kB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/1.101, allocations: 43.83 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/1.101, allocations: 8 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.798e-05/1.101, allocations: 8 kB / 1.168 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/1.101, allocations: 15.92 kB / 1.168 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.631e-05/1.102, allocations: 39.75 kB / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000248/1.102, allocations: 103.3 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/1.102, allocations: 0 / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.834e-06/1.102, allocations: 0 / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.621e-06/1.102, allocations: 0 / 1.168 GB, free: 1.516 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.001031/1.103, allocations: 415 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/1.103, allocations: 12.92 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.313e-05/1.103, allocations: 38.75 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/1.103, allocations: 8.891 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005226/1.104, allocations: 216 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/1.104, allocations: 4.375 kB / 1.169 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/1.104, allocations: 4.375 kB / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/1.104, allocations: 95.33 kB / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/1.104, allocations: 7.922 kB / 1.169 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/1.104, allocations: 4 kB / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/1.104, allocations: 0 / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/1.105, allocations: 71.88 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008659/1.105, allocations: 344.7 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/1.106, allocations: 70.47 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/1.106, allocations: 32.94 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/1.106, allocations: 7.984 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/1.106, allocations: 30.56 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 2.104e-06/1.106, allocations: 0 / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0007165/1.107, allocations: 113.6 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/1.107, allocations: 59.33 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/1.107, allocations: 148.1 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/1.107, allocations: 29.7 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.709e-05/1.107, allocations: 100 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/1.107, allocations: 11.88 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/1.107, allocations: 21.72 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001945/1.108, allocations: 318.8 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/1.108, allocations: 35.91 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/1.108, allocations: 27.98 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/1.108, allocations: 60.8 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.108, allocations: 0 / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004786/1.109, allocations: 101.5 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/1.109, allocations: 8 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.109, allocations: 4 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/1.109, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/1.109, allocations: 11.98 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/1.109, allocations: 3.938 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001865/1.109, allocations: 15.94 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/1.109, allocations: 4.188 kB / 1.171 GB, free: 14.89 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 0.0001591/1.11, allocations: 121.8 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/1.11, allocations: 8 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/1.11, allocations: 8.25 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.11, allocations: 0 / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/1.11, allocations: 3.938 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/1.11, allocations: 4 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/1.11, allocations: 197.6 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.11, allocations: 0 / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/1.11, allocations: 11.98 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/1.11, allocations: 0 / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/1.11, allocations: 0 / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/1.11, allocations: 4 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.11, allocations: 3.938 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000613/1.111, allocations: 191.4 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.982e-05/1.111, allocations: 85.05 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/1.111, allocations: 0 / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/1.111, allocations: 15.98 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/1.112, allocations: 24.14 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/1.112, allocations: 0 / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001245/1.112, allocations: 99.27 kB / 1.171 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.21e-07/1.112, allocations: 0 / 1.171 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004349/1.112, allocations: 15.95 kB / 1.171 GB, free: 14.01 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.001125/1.113, allocations: 0.728 MB / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005249/1.114, allocations: 67.94 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.114, allocations: 3.938 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002502/1.114, allocations: 43.86 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/1.115, allocations: 18.42 kB / 1.172 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/1.118, allocations: 1.473 MB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006335/1.119, allocations: 0.6979 MB / 1.174 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.429e-05/1.119, allocations: 4 kB / 1.174 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/1.119, allocations: 27.42 kB / 1.174 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of SimCode: time 6.31e-07/1.119, allocations: 0 / 1.174 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04126/1.16, allocations: 2.194 MB / 1.177 GB, free: 8.719 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.51, allocations: 11.66 kB / 1.177 GB, free: 8.711 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