Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.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.001365/0.001365, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001511/0.001511, allocations: 212 kB / 22.24 MB, free: 5.242 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.892/2.892, allocations: 476 MB / 0.7699 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",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.00215/0.00215, allocations: 68.81 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3636, allocations: 170 MB / 1.283 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.00243/0.366, allocations: 0.8006 MB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.3675, allocations: 0.9017 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.3676, allocations: 4 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.3678, allocations: 19.8 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.727e-05/0.3678, allocations: 3.938 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.3681, allocations: 39.89 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.3682, allocations: 71.78 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.3684, allocations: 23.5 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.3686, allocations: 47.78 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.423e-05/0.3687, allocations: 19.86 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.3687, allocations: 8 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.708e-05/0.3687, allocations: 12 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.3688, allocations: 11.92 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.3688, allocations: 27.86 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.369, allocations: 81.31 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.369, allocations: 0 / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.004e-06/0.369, allocations: 3.938 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.369, allocations: 0 / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000704/0.3698, allocations: 314 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.3698, allocations: 8.031 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.903e-05/0.3699, allocations: 42.73 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.37, allocations: 12.89 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.3703, allocations: 142.3 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3704, allocations: 8.375 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.3704, allocations: 8.312 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.3706, allocations: 74.16 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3706, allocations: 3.938 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.3706, allocations: 0 / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3706, allocations: 0 / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.3707, allocations: 31.98 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.3713, allocations: 283.7 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.3715, allocations: 46.55 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.79e-05/0.3715, allocations: 21 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.3715, allocations: 4.094 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.3716, allocations: 34.5 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.3716, allocations: 0 / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002937/0.3719, allocations: 77.61 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.3719, allocations: 55.41 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.372, allocations: 132.6 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.3721, allocations: 25.7 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.3721, allocations: 100.1 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.011e-05/0.3722, allocations: 11.95 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/0.3722, allocations: 17.72 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3724, allocations: 322.8 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.689e-05/0.3724, allocations: 15.98 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.245e-05/0.3725, allocations: 19.94 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.539e-05/0.3726, allocations: 24.84 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3726, allocations: 0 / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001677/0.3728, allocations: 69.62 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3728, allocations: 8 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.3728, allocations: 0 / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3728, allocations: 0 / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.046e-05/0.3729, allocations: 11.92 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3729, allocations: 0 / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.776e-05/0.3729, allocations: 15.98 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.373, allocations: 3.938 kB / 1.286 GB, free: 8.242 MB / 0.9825 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 (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 prepare postOptimizeDAE: time 0.0001069/0.3731, allocations: 117.8 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.3731, allocations: 7.953 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.3731, allocations: 12.34 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3731, allocations: 0 / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3731, allocations: 7.938 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3731, allocations: 0 / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.3733, allocations: 148.7 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.3733, allocations: 3.984 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.3734, allocations: 4 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3734, allocations: 0 / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.3734, allocations: 0 / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3734, allocations: 0 / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3734, allocations: 0 / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.3736, allocations: 169.2 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.3736, allocations: 7.891 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.3736, allocations: 11.94 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3738, allocations: 11.98 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.3738, allocations: 11.97 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.3738, allocations: 0 / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.449e-05/0.3739, allocations: 111.1 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5e-08/0.3739, allocations: 0 / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002298/0.3741, allocations: 8 kB / 1.287 GB, free: 7.551 MB / 0.9825 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 (3): * Single equations (assignments): 3 * 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.0005459/0.3747, allocations: 0.6894 MB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.3748, allocations: 43.89 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3748, allocations: 0 / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.809e-05/0.3749, allocations: 19.98 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.3751, allocations: 7.938 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.3768, allocations: 1.387 MB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.331e-05/0.3769, allocations: 83.52 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.351e-05/0.3769, allocations: 4 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.245e-05/0.377, allocations: 23.61 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/0.377, allocations: 0 / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03064/0.4076, allocations: 2.565 MB / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.76, allocations: 16 kB / 1.292 GB, free: 2.738 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable gre.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv. Warning: Get data of variable gre.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable gre.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv. Warning: Get data of variable gre.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable greHys.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv. Warning: Get data of variable greHys.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.76107297092676]