Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001691/0.001691, 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.002509/0.002509, allocations: 217.2 kB / 22.25 MB, free: 5.078 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 8.016 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.375/3.375, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_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.003258/0.003258, allocations: 67.09 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3914, allocations: 180.2 MB / 1.353 GB, free: 8.41 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002074/0.3934, allocations: 0.8349 MB / 1.354 GB, free: 7.578 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.3946, allocations: 0.9133 MB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.09e-05/0.3947, allocations: 3.938 kB / 1.355 GB, free: 6.648 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.3948, allocations: 15.86 kB / 1.355 GB, free: 6.633 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.31e-05/0.3949, allocations: 15.81 kB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.3951, allocations: 35.89 kB / 1.355 GB, free: 6.582 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.3952, allocations: 71.78 kB / 1.355 GB, free: 6.512 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3954, allocations: 20.27 kB / 1.355 GB, free: 6.492 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.3955, allocations: 39.84 kB / 1.355 GB, free: 6.453 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.323e-05/0.3956, allocations: 27.86 kB / 1.355 GB, free: 6.426 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.3956, allocations: 8 kB / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.331e-05/0.3956, allocations: 7.984 kB / 1.355 GB, free: 6.41 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.3956, allocations: 11.94 kB / 1.355 GB, free: 6.398 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.3957, allocations: 31.8 kB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.3959, allocations: 99.55 kB / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3959, allocations: 0 / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3959, allocations: 0 / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.3959, allocations: 0 / 1.355 GB, free: 6.27 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005148/0.3964, allocations: 314 kB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3964, allocations: 12.03 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.3965, allocations: 42.67 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.3966, allocations: 20.89 kB / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.3968, allocations: 138.4 kB / 1.355 GB, free: 5.688 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-06/0.3968, allocations: 384 / 1.355 GB, free: 5.688 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.3969, allocations: 4.375 kB / 1.355 GB, free: 5.684 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.397, allocations: 70.16 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-06/0.397, allocations: 3.938 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.397, allocations: 3.938 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.397, allocations: 4 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.3971, allocations: 35.97 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004618/0.3976, allocations: 291.7 kB / 1.356 GB, free: 5.234 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.3978, allocations: 46.55 kB / 1.356 GB, free: 5.18 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.677e-05/0.3978, allocations: 20.92 kB / 1.356 GB, free: 5.156 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3978, allocations: 4.078 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.3979, allocations: 30.56 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3979, allocations: 0 / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002455/0.3981, allocations: 77.66 kB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.3981, allocations: 55.41 kB / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.3983, allocations: 135.8 kB / 1.356 GB, free: 4.824 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.3983, allocations: 29.7 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.3983, allocations: 104.1 kB / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.3984, allocations: 7.953 kB / 1.356 GB, free: 4.676 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.3984, allocations: 17.72 kB / 1.356 GB, free: 4.652 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3985, allocations: 322.8 kB / 1.357 GB, free: 4.328 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.529e-05/0.3986, allocations: 15.98 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.241e-05/0.3986, allocations: 12 kB / 1.357 GB, free: 4.301 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.758e-05/0.3987, allocations: 32.84 kB / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3987, allocations: 0 / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001461/0.3989, allocations: 73.5 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3989, allocations: 8 kB / 1.357 GB, free: 4.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3989, allocations: 0 / 1.357 GB, free: 4.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3989, allocations: 0 / 1.357 GB, free: 4.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.699e-05/0.399, allocations: 11.98 kB / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.399, allocations: 0 / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.527e-05/0.399, allocations: 11.98 kB / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.399, allocations: 11.94 kB / 1.357 GB, free: 4.145 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 (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 8.896e-05/0.3991, allocations: 118.4 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.3992, allocations: 3.953 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.3992, allocations: 12.34 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.3992, allocations: 0 / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3992, allocations: 0 / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3992, allocations: 0 / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.3994, allocations: 156.7 kB / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3994, allocations: 3.984 kB / 1.357 GB, free: 3.801 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.3995, allocations: 8 kB / 1.357 GB, free: 3.793 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3995, allocations: 4 kB / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.3995, allocations: 7.875 kB / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3995, allocations: 0 / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3995, allocations: 0 / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.3997, allocations: 159.8 kB / 1.357 GB, free: 3.609 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.3997, allocations: 11.94 kB / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.3997, allocations: 7.984 kB / 1.357 GB, free: 3.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3998, allocations: 11.98 kB / 1.357 GB, free: 3.578 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.3998, allocations: 11.97 kB / 1.357 GB, free: 3.566 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.3998, allocations: 4 kB / 1.357 GB, free: 3.562 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.732e-05/0.3999, allocations: 105.1 kB / 1.357 GB, free: 3.461 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3999, allocations: 0 / 1.357 GB, free: 3.461 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002292/0.4002, allocations: 8 kB / 1.357 GB, free: 3.453 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 (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.0004885/0.4006, allocations: 0.689 MB / 1.358 GB, free: 2.738 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001488/0.4008, allocations: 35.97 kB / 1.358 GB, free: 2.703 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4008, allocations: 0 / 1.358 GB, free: 2.703 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.589e-05/0.4008, allocations: 19.92 kB / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.4011, allocations: 12 kB / 1.358 GB, free: 2.672 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.4026, allocations: 1.372 MB / 1.36 GB, free: 1.219 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.4029, allocations: 0.6885 MB / 1.36 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.737e-05/0.4029, allocations: 4 kB / 1.36 GB, free: 0.5 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.325e-05/0.403, allocations: 23.42 kB / 1.36 GB, free: 488 kB / 1.045 GB Notification: Performance of SimCode: time 3.4e-07/0.403, allocations: 4 kB / 1.36 GB, free: 484 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.4318, allocations: 2.113 MB / 1.362 GB, free: 14.49 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.3, allocations: 13.14 kB / 1.362 GB, free: 14.48 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_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_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv. Warning: Get data of variable gre.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable gre.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv. Warning: Get data of variable gre.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable greHys.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv. Warning: Get data of variable greHys.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.468865836000077]