Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002216/0.002216, allocations: 220.1 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.213/3.213, allocations: 0.49 GB / 0.7951 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 72.64 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4041, allocations: 176.1 MB / 1.326 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002136/0.4062, allocations: 0.8789 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.4075, allocations: 0.9328 MB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.567e-05/0.4076, allocations: 3.938 kB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.4077, allocations: 15.86 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.059e-05/0.4077, allocations: 11.81 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.4079, allocations: 39.94 kB / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.4081, allocations: 107.8 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.4082, allocations: 27.98 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.4084, allocations: 55.77 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.182e-05/0.4085, allocations: 39.78 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.4085, allocations: 11.94 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.518e-05/0.4085, allocations: 12 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.4086, allocations: 15.92 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.894e-05/0.4086, allocations: 39.8 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.4088, allocations: 103.8 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4088, allocations: 0 / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4088, allocations: 0 / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.4088, allocations: 7.938 kB / 1.328 GB, free: 15.59 MB / 1.029 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.0006781/0.4095, allocations: 341.9 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.4095, allocations: 8.031 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.256e-05/0.4096, allocations: 38.73 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.4097, allocations: 16.89 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.41, allocations: 150.3 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.41, allocations: 4.375 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.41, allocations: 8.375 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.4102, allocations: 94.08 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4102, allocations: 11.88 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.4103, allocations: 0 / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.4103, allocations: 0 / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.4105, allocations: 71.94 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006042/0.4111, allocations: 319.6 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.4114, allocations: 66.53 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.4116, allocations: 36.94 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.4116, allocations: 3.984 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.4116, allocations: 34.56 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.4116, allocations: 0 / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0005006/0.4121, allocations: 117.5 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.4122, allocations: 55.39 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.4123, allocations: 139.5 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.4123, allocations: 25.7 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.001e-05/0.4124, allocations: 112 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.4124, allocations: 11.94 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.4125, allocations: 17.72 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4126, allocations: 318.8 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.4127, allocations: 35.97 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.4129, allocations: 27.98 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.4131, allocations: 56.8 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4131, allocations: 0 / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002978/0.4134, allocations: 105.5 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.4134, allocations: 5.406 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4134, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.4134, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.4135, allocations: 19.92 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.4135, allocations: 3.938 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.4136, allocations: 15.98 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.4137, allocations: 4 kB / 1.33 GB, free: 13.17 MB / 1.029 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.0001231/0.4138, allocations: 118.4 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.4138, allocations: 7.953 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/0.4138, allocations: 8.531 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4138, allocations: 3.984 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4139, allocations: 8.125 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4139, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.4141, allocations: 164.7 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4141, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.479e-05/0.4142, allocations: 19.92 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4142, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.4142, allocations: 3.938 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4142, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4142, allocations: 3.938 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.4145, allocations: 191.4 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.4145, allocations: 7.953 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.4146, allocations: 4 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.4147, allocations: 11.98 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.4148, allocations: 19.91 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.4148, allocations: 0 / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.331e-05/0.4149, allocations: 104.7 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4149, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002384/0.4151, allocations: 19.89 kB / 1.331 GB, free: 12.41 MB / 1.029 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.0006546/0.4157, allocations: 0.7163 MB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002901/0.416, allocations: 71.94 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.416, allocations: 0 / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.4162, allocations: 39.91 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.4165, allocations: 7.938 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.4185, allocations: 1.479 MB / 1.333 GB, free: 9.988 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.4188, allocations: 0.6924 MB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.29e-05/0.4189, allocations: 4 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.419, allocations: 35.42 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of SimCode: time 3.7e-07/0.419, allocations: 3.938 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.449, allocations: 2.338 MB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.19, allocations: 3.906 kB / 1.336 GB, free: 7.027 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Greater.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable gre.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv. Warning: Get data of variable gre.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv failed! Error: Could not read variable gre.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv. Warning: Get data of variable gre.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv failed! Error: Could not read variable gre.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv. Warning: Get data of variable gre.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv failed! Error: Could not read variable greHys.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv. Warning: Get data of variable greHys.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.249700313001085]