Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.001752/0.001752, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.001573/0.001573, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.542/1.542, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.461/3.461, allocations: 0.505 GB / 0.8066 GB, free: 23.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.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.002214/0.002214, allocations: 72.69 kB / 1.172 GB, free: 17.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4064, allocations: 180.2 MB / 1.348 GB, free: 10.11 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002802/0.4093, allocations: 0.7093 MB / 1.348 GB, free: 9.398 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.4108, allocations: 0.8631 MB / 1.349 GB, free: 8.523 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.4108, allocations: 4 kB / 1.349 GB, free: 8.52 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.989e-05/0.4108, allocations: 7.938 kB / 1.349 GB, free: 8.512 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.825e-05/0.4109, allocations: 3.938 kB / 1.349 GB, free: 8.508 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.4111, allocations: 31.89 kB / 1.349 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.4112, allocations: 43.91 kB / 1.349 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.4114, allocations: 8 kB / 1.349 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.603e-05/0.4115, allocations: 23.86 kB / 1.349 GB, free: 8.402 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.621e-05/0.4115, allocations: 27.89 kB / 1.349 GB, free: 8.375 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.521e-05/0.4116, allocations: 4 kB / 1.349 GB, free: 8.371 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.584e-05/0.4116, allocations: 4 kB / 1.349 GB, free: 8.367 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.4116, allocations: 12 kB / 1.349 GB, free: 8.355 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.4117, allocations: 23.86 kB / 1.349 GB, free: 8.332 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.4118, allocations: 52.06 kB / 1.35 GB, free: 8.281 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.4118, allocations: 0 / 1.35 GB, free: 8.281 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.424e-06/0.4118, allocations: 0 / 1.35 GB, free: 8.281 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.4118, allocations: 0 / 1.35 GB, free: 8.281 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000775/0.4126, allocations: 355.3 kB / 1.35 GB, free: 7.887 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.4127, allocations: 15.92 kB / 1.35 GB, free: 7.871 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.388e-05/0.4127, allocations: 38.75 kB / 1.35 GB, free: 7.824 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.4128, allocations: 4.938 kB / 1.35 GB, free: 7.82 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.413, allocations: 176.2 kB / 1.35 GB, free: 7.609 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.413, allocations: 384 / 1.35 GB, free: 7.609 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.413, allocations: 12.11 kB / 1.35 GB, free: 7.598 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.4133, allocations: 69.59 kB / 1.35 GB, free: 7.523 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.4133, allocations: 0 / 1.35 GB, free: 7.523 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.4133, allocations: 4 kB / 1.35 GB, free: 7.52 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4133, allocations: 0 / 1.35 GB, free: 7.52 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.4136, allocations: 51.95 kB / 1.35 GB, free: 7.469 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006191/0.4142, allocations: 296.7 kB / 1.351 GB, free: 7.129 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.4145, allocations: 58.55 kB / 1.351 GB, free: 7.062 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.4147, allocations: 32.91 kB / 1.351 GB, free: 7.027 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.4147, allocations: 4 kB / 1.351 GB, free: 7.023 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.4147, allocations: 30.56 kB / 1.351 GB, free: 6.984 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.4147, allocations: 0 / 1.351 GB, free: 6.984 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0006137/0.4154, allocations: 113.5 kB / 1.351 GB, free: 6.867 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.4154, allocations: 51.41 kB / 1.351 GB, free: 6.805 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.4155, allocations: 105.8 kB / 1.351 GB, free: 6.691 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.4156, allocations: 33.7 kB / 1.351 GB, free: 6.652 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.4156, allocations: 88.09 kB / 1.351 GB, free: 6.562 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.4157, allocations: 7.938 kB / 1.351 GB, free: 6.555 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.4157, allocations: 17.72 kB / 1.351 GB, free: 6.531 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.4159, allocations: 326.8 kB / 1.351 GB, free: 6.203 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.4161, allocations: 19.98 kB / 1.351 GB, free: 6.184 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.4162, allocations: 23.97 kB / 1.351 GB, free: 6.16 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.4165, allocations: 52.81 kB / 1.351 GB, free: 6.105 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.4165, allocations: 4 kB / 1.351 GB, free: 6.102 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003668/0.4168, allocations: 89.55 kB / 1.352 GB, free: 6.008 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.4169, allocations: 8 kB / 1.352 GB, free: 6 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.4169, allocations: 0 / 1.352 GB, free: 6 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.4169, allocations: 0 / 1.352 GB, free: 6 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.4171, allocations: 15.98 kB / 1.352 GB, free: 5.984 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4171, allocations: 0 / 1.352 GB, free: 5.984 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.4172, allocations: 11.92 kB / 1.352 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.4172, allocations: 8.25 kB / 1.352 GB, free: 5.965 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: 2 (reaToInt.y,intGreThr.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.0001198/0.4173, allocations: 113.8 kB / 1.352 GB, free: 5.844 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/0.4174, allocations: 4 kB / 1.352 GB, free: 5.84 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.4174, allocations: 7.844 kB / 1.352 GB, free: 5.82 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.4174, allocations: 0 / 1.352 GB, free: 5.82 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4174, allocations: 0 / 1.352 GB, free: 5.82 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4174, allocations: 7.938 kB / 1.352 GB, free: 5.812 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.4177, allocations: 181.6 kB / 1.352 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4177, allocations: 0 / 1.352 GB, free: 5.586 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.4178, allocations: 15.92 kB / 1.352 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4178, allocations: 0 / 1.352 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.4179, allocations: 0 / 1.352 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4179, allocations: 0 / 1.352 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4179, allocations: 0 / 1.352 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.4183, allocations: 191.4 kB / 1.352 GB, free: 5.367 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.4184, allocations: 77.11 kB / 1.352 GB, free: 5.273 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.4184, allocations: 0 / 1.352 GB, free: 5.273 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.4185, allocations: 7.984 kB / 1.352 GB, free: 5.266 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.101e-05/0.4186, allocations: 11.98 kB / 1.352 GB, free: 5.254 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.4186, allocations: 4 kB / 1.352 GB, free: 5.25 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.333e-05/0.4187, allocations: 95.19 kB / 1.352 GB, free: 5.156 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4187, allocations: 0 / 1.352 GB, free: 5.156 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004271/0.4191, allocations: 12 kB / 1.352 GB, free: 5.145 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 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * 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.0008454/0.42, allocations: 0.7205 MB / 1.353 GB, free: 4.398 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003682/0.4204, allocations: 55.94 kB / 1.353 GB, free: 4.344 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4204, allocations: 0 / 1.353 GB, free: 4.344 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.4205, allocations: 35.91 kB / 1.353 GB, free: 4.309 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.421, allocations: 4 kB / 1.353 GB, free: 4.305 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.4234, allocations: 1.335 MB / 1.354 GB, free: 2.891 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.4238, allocations: 0.6846 MB / 1.355 GB, free: 2.18 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.238e-05/0.4238, allocations: 0 / 1.355 GB, free: 2.18 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.742e-05/0.4239, allocations: 19.42 kB / 1.355 GB, free: 2.16 MB / 1.045 GB Notification: Performance of SimCode: time 3.41e-07/0.4239, allocations: 0 / 1.355 GB, free: 2.16 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.453, allocations: 1.858 MB / 1.357 GB, free: 456 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/8.645, allocations: 7.922 kB / 1.357 GB, free: 448 kB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intGreThr.t in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.t from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable intGreThr.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable intGreThr.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.81898653996177]