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.001835/0.001835, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.003476/0.003476, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.517/1.517, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.283/3.283, allocations: 0.505 GB / 0.8066 GB, free: 23.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.002047/0.002047, allocations: 66.81 kB / 1.172 GB, free: 17.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3553, allocations: 180.2 MB / 1.348 GB, free: 10.02 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002234/0.3575, allocations: 0.866 MB / 1.349 GB, free: 9.152 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3588, allocations: 0.9328 MB / 1.35 GB, free: 8.207 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.351e-05/0.3589, allocations: 0 / 1.35 GB, free: 8.207 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.359, allocations: 19.8 kB / 1.35 GB, free: 8.188 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.937e-05/0.359, allocations: 7.875 kB / 1.35 GB, free: 8.18 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.3593, allocations: 47.88 kB / 1.35 GB, free: 8.133 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.3594, allocations: 103.7 kB / 1.35 GB, free: 8.031 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.3595, allocations: 27.98 kB / 1.35 GB, free: 8.004 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.3597, allocations: 51.83 kB / 1.35 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.662e-05/0.3598, allocations: 35.78 kB / 1.35 GB, free: 7.918 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.3598, allocations: 11.94 kB / 1.35 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.956e-05/0.3599, allocations: 16 kB / 1.35 GB, free: 7.891 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.3599, allocations: 15.92 kB / 1.35 GB, free: 7.875 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.36, allocations: 35.8 kB / 1.35 GB, free: 7.84 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.3601, allocations: 115.8 kB / 1.35 GB, free: 7.727 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3601, allocations: 0 / 1.35 GB, free: 7.727 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3601, allocations: 0 / 1.35 GB, free: 7.727 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.3601, allocations: 0 / 1.35 GB, free: 7.727 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.0006695/0.3608, allocations: 416.9 kB / 1.35 GB, free: 7.27 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3608, allocations: 19.92 kB / 1.35 GB, free: 7.25 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.3609, allocations: 34.75 kB / 1.351 GB, free: 7.207 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.361, allocations: 24.88 kB / 1.351 GB, free: 7.184 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.3613, allocations: 208.1 kB / 1.351 GB, free: 6.941 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3613, allocations: 4.375 kB / 1.351 GB, free: 6.938 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.3614, allocations: 8.375 kB / 1.351 GB, free: 6.93 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.3616, allocations: 86.2 kB / 1.351 GB, free: 6.84 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3616, allocations: 3.938 kB / 1.351 GB, free: 6.836 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3616, allocations: 7.938 kB / 1.351 GB, free: 6.828 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3616, allocations: 4 kB / 1.351 GB, free: 6.824 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.3619, allocations: 67.94 kB / 1.351 GB, free: 6.758 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.3625, allocations: 348.6 kB / 1.351 GB, free: 6.367 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.3627, allocations: 66.48 kB / 1.351 GB, free: 6.293 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.3629, allocations: 36.92 kB / 1.351 GB, free: 6.254 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.3629, allocations: 0 / 1.351 GB, free: 6.254 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.3629, allocations: 34.55 kB / 1.351 GB, free: 6.211 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3629, allocations: 4 kB / 1.351 GB, free: 6.207 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0005116/0.3635, allocations: 121.6 kB / 1.351 GB, free: 6.082 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.3635, allocations: 51.41 kB / 1.352 GB, free: 6.02 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.3636, allocations: 140 kB / 1.352 GB, free: 5.875 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.3637, allocations: 29.7 kB / 1.352 GB, free: 5.84 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.301e-05/0.3638, allocations: 108 kB / 1.352 GB, free: 5.73 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.3638, allocations: 19.83 kB / 1.352 GB, free: 5.711 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.3638, allocations: 21.7 kB / 1.352 GB, free: 5.684 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.364, allocations: 318.8 kB / 1.352 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.3641, allocations: 27.98 kB / 1.352 GB, free: 5.336 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.3642, allocations: 27.97 kB / 1.352 GB, free: 5.309 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.3645, allocations: 64.94 kB / 1.352 GB, free: 5.242 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3645, allocations: 4 kB / 1.352 GB, free: 5.238 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002802/0.3647, allocations: 97.59 kB / 1.352 GB, free: 5.137 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3648, allocations: 4 kB / 1.352 GB, free: 5.133 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3648, allocations: 0 / 1.352 GB, free: 5.133 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3648, allocations: 0 / 1.352 GB, free: 5.133 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3649, allocations: 15.92 kB / 1.352 GB, free: 5.117 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.3649, allocations: 3.938 kB / 1.352 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.365, allocations: 19.97 kB / 1.352 GB, free: 5.094 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.365, allocations: 4 kB / 1.352 GB, free: 5.09 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.0001127/0.3651, allocations: 113.8 kB / 1.353 GB, free: 4.969 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.3652, allocations: 7.953 kB / 1.353 GB, free: 4.961 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.3652, allocations: 12.23 kB / 1.353 GB, free: 4.938 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3652, allocations: 0 / 1.353 GB, free: 4.938 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3652, allocations: 7.938 kB / 1.353 GB, free: 4.93 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3652, allocations: 3.938 kB / 1.353 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.3654, allocations: 197.6 kB / 1.353 GB, free: 4.684 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3654, allocations: 3.938 kB / 1.353 GB, free: 4.68 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.958e-05/0.3655, allocations: 11.98 kB / 1.353 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3655, allocations: 0 / 1.353 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.3655, allocations: 0 / 1.353 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3655, allocations: 0 / 1.353 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3655, allocations: 3.938 kB / 1.353 GB, free: 4.664 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.3659, allocations: 191.4 kB / 1.353 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.3659, allocations: 85.05 kB / 1.353 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.3659, allocations: 0 / 1.353 GB, free: 4.359 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.3661, allocations: 19.98 kB / 1.353 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.3661, allocations: 11.92 kB / 1.353 GB, free: 4.328 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.3661, allocations: 64 / 1.353 GB, free: 4.328 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.824e-05/0.3662, allocations: 105 kB / 1.353 GB, free: 4.227 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3662, allocations: 4 kB / 1.353 GB, free: 4.223 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002252/0.3664, allocations: 19.89 kB / 1.353 GB, free: 4.203 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.0006957/0.3671, allocations: 0.7163 MB / 1.354 GB, free: 3.461 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002823/0.3674, allocations: 71.94 kB / 1.354 GB, free: 3.391 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3674, allocations: 0 / 1.354 GB, free: 3.391 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.3675, allocations: 35.97 kB / 1.354 GB, free: 3.355 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.3678, allocations: 20.3 kB / 1.354 GB, free: 3.336 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.3698, allocations: 1.478 MB / 1.355 GB, free: 1.77 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.3701, allocations: 0.6924 MB / 1.356 GB, free: 1.051 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.192e-05/0.3702, allocations: 11.97 kB / 1.356 GB, free: 1.039 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.791e-05/0.3702, allocations: 27.42 kB / 1.356 GB, free: 1.016 MB / 1.045 GB Notification: Performance of SimCode: time 2.8e-07/0.3702, allocations: 0 / 1.356 GB, free: 1.016 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.3954, allocations: 2.21 MB / 1.358 GB, free: 14.91 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.344/8.739, allocations: 9.188 kB / 1.358 GB, free: 14.9 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.607026807963848]