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.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.001649/0.001649, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002191/0.002191, allocations: 219.2 kB / 22.26 MB, free: 5.082 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.401/3.401, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [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.002145/0.002145, allocations: 70.19 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3992, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002127/0.4013, allocations: 0.8776 MB / 1.354 GB, free: 7.547 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00126/0.4026, allocations: 0.9327 MB / 1.355 GB, free: 6.602 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.649e-05/0.4027, allocations: 7.938 kB / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.4028, allocations: 11.86 kB / 1.355 GB, free: 6.582 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.704e-05/0.4028, allocations: 15.86 kB / 1.355 GB, free: 6.566 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.4031, allocations: 43.83 kB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00015/0.4032, allocations: 99.7 kB / 1.355 GB, free: 6.426 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.4034, allocations: 35.97 kB / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.4035, allocations: 51.78 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.81e-05/0.4036, allocations: 35.84 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.4036, allocations: 8 kB / 1.355 GB, free: 6.297 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.685e-05/0.4037, allocations: 12 kB / 1.355 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.4037, allocations: 23.91 kB / 1.355 GB, free: 6.262 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.52e-05/0.4038, allocations: 35.75 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.4039, allocations: 115.8 kB / 1.355 GB, free: 6.113 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4039, allocations: 0 / 1.355 GB, free: 6.113 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4039, allocations: 0 / 1.355 GB, free: 6.113 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.404, allocations: 0 / 1.355 GB, free: 6.113 MB / 1.045 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.0005948/0.4045, allocations: 341.9 kB / 1.355 GB, free: 5.746 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.4046, allocations: 8.031 kB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.897e-05/0.4046, allocations: 34.75 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.4048, allocations: 24.81 kB / 1.356 GB, free: 5.672 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.405, allocations: 142.4 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.405, allocations: 12.38 kB / 1.356 GB, free: 5.496 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.4051, allocations: 4.375 kB / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.4053, allocations: 90.2 kB / 1.356 GB, free: 5.398 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4053, allocations: 3.938 kB / 1.356 GB, free: 5.395 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.4053, allocations: 4 kB / 1.356 GB, free: 5.391 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4053, allocations: 4 kB / 1.356 GB, free: 5.387 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002481/0.4056, allocations: 67.88 kB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005241/0.4061, allocations: 323.7 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.4063, allocations: 70.48 kB / 1.356 GB, free: 4.883 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.4065, allocations: 36.92 kB / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.4065, allocations: 0 / 1.356 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.4065, allocations: 30.56 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.4065, allocations: 0 / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004609/0.407, allocations: 125.5 kB / 1.356 GB, free: 4.676 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.407, allocations: 55.41 kB / 1.356 GB, free: 4.609 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.4071, allocations: 139.5 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.4072, allocations: 29.64 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.4072, allocations: 112 kB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.4073, allocations: 11.94 kB / 1.357 GB, free: 4.305 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.56e-05/0.4073, allocations: 21.66 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4075, allocations: 322.8 kB / 1.357 GB, free: 3.953 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.4076, allocations: 27.98 kB / 1.357 GB, free: 3.926 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.4077, allocations: 31.97 kB / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.4079, allocations: 56.8 kB / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4079, allocations: 0 / 1.357 GB, free: 3.836 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002662/0.4082, allocations: 101.5 kB / 1.357 GB, free: 3.73 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4082, allocations: 4 kB / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4082, allocations: 0 / 1.357 GB, free: 3.727 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4082, allocations: 4 kB / 1.357 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.4083, allocations: 7.984 kB / 1.357 GB, free: 3.715 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4083, allocations: 11.92 kB / 1.357 GB, free: 3.703 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.997e-05/0.4084, allocations: 11.98 kB / 1.357 GB, free: 3.691 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.4084, allocations: 0 / 1.357 GB, free: 3.691 MB / 1.045 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.0001007/0.4085, allocations: 129.7 kB / 1.357 GB, free: 3.555 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.4085, allocations: 7.953 kB / 1.357 GB, free: 3.547 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.4086, allocations: 16.33 kB / 1.357 GB, free: 3.527 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4086, allocations: 192 / 1.357 GB, free: 3.527 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.4086, allocations: 7.938 kB / 1.357 GB, free: 3.52 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.4086, allocations: 0 / 1.357 GB, free: 3.52 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.4088, allocations: 160.7 kB / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4088, allocations: 0 / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.983e-05/0.4089, allocations: 11.98 kB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4089, allocations: 4 kB / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.4089, allocations: 4.188 kB / 1.358 GB, free: 3.301 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.4089, allocations: 3.938 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4089, allocations: 3.938 kB / 1.358 GB, free: 3.293 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.4092, allocations: 183.5 kB / 1.358 GB, free: 3.098 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.4092, allocations: 11.94 kB / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.4092, allocations: 8 kB / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.4094, allocations: 11.98 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.4094, allocations: 15.91 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.4094, allocations: 0 / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.081e-05/0.4095, allocations: 108.9 kB / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4095, allocations: 0 / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000231/0.4097, allocations: 19.89 kB / 1.358 GB, free: 2.926 MB / 1.045 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.0006281/0.4103, allocations: 0.7241 MB / 1.359 GB, free: 2.176 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000284/0.4106, allocations: 63.94 kB / 1.359 GB, free: 2.113 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4106, allocations: 4 kB / 1.359 GB, free: 2.109 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.4107, allocations: 31.92 kB / 1.359 GB, free: 2.078 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.411, allocations: 19.86 kB / 1.359 GB, free: 2.059 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.4129, allocations: 1.48 MB / 1.36 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.4132, allocations: 0.6963 MB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.62e-05/0.4133, allocations: 4 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.126e-05/0.4133, allocations: 27.42 kB / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.4133, allocations: 4 kB / 1.361 GB, free: 15.74 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.44, allocations: 2.32 MB / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.27, allocations: 5.391 kB / 1.363 GB, free: 13.54 MB / 1.061 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Greater.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv","/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) [Timeout 300] "Error: Could not read variable gre.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv. Warning: Get data of variable gre.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv failed! Error: Could not read variable gre.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv. Warning: Get data of variable gre.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv failed! Error: Could not read variable gre.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv. Warning: Get data of variable gre.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv failed! Error: Could not read variable greHys.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv. Warning: Get data of variable greHys.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.702899961000185]