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.001303/0.001303, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001561/0.001561, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.793 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.5107 GB / 0.8158 GB, free: 17.8 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.002185/0.002185, allocations: 63.09 kB / 1.186 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3615, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.003197/0.3647, allocations: 0.8063 MB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.3667, allocations: 0.9016 MB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.3669, allocations: 4 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.3671, allocations: 15.8 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.04e-05/0.3672, allocations: 15.94 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.3675, allocations: 31.89 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.3677, allocations: 75.72 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.3678, allocations: 20.27 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.368, allocations: 39.84 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3681, allocations: 27.84 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.3681, allocations: 4 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.741e-05/0.3682, allocations: 8 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.45e-05/0.3682, allocations: 15.94 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.3683, allocations: 23.8 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.3685, allocations: 95.61 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3685, allocations: 0 / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3685, allocations: 0 / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.3685, allocations: 3.938 kB / 1.365 GB, free: 11.94 MB / 1.061 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.0006623/0.3691, allocations: 306 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.3692, allocations: 16.02 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.073e-05/0.3692, allocations: 30.75 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.3694, allocations: 20.88 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.3698, allocations: 150.3 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.3698, allocations: 384 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.3698, allocations: 16.25 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.37, allocations: 58.23 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.37, allocations: 7.922 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.37, allocations: 0 / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.37, allocations: 4 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.3701, allocations: 31.98 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.3707, allocations: 283.7 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.3709, allocations: 46.56 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.947e-05/0.3709, allocations: 25.03 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.371, allocations: 0 / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.371, allocations: 30.56 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.371, allocations: 0 / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002851/0.3713, allocations: 73.67 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.3713, allocations: 51.41 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.3715, allocations: 143.6 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.3715, allocations: 29.7 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.3716, allocations: 96.12 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.3716, allocations: 3.953 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.3716, allocations: 21.7 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3718, allocations: 318.8 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.56e-05/0.3718, allocations: 19.92 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.093e-05/0.3719, allocations: 19.98 kB / 1.367 GB, free: 9.988 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.276e-05/0.372, allocations: 28.84 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.372, allocations: 0 / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001475/0.3721, allocations: 65.64 kB / 1.367 GB, free: 9.887 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3721, allocations: 4 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3722, allocations: 0 / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.3722, allocations: 0 / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.262e-05/0.3722, allocations: 11.92 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3722, allocations: 3.938 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.68e-05/0.3723, allocations: 15.94 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.3723, allocations: 7.938 kB / 1.367 GB, free: 9.844 MB / 1.061 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.0001073/0.3724, allocations: 113.8 kB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.3725, allocations: 4 kB / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.3725, allocations: 12.34 kB / 1.367 GB, free: 9.695 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3725, allocations: 3.984 kB / 1.367 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3725, allocations: 7.938 kB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3725, allocations: 0 / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.3727, allocations: 156.6 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3727, allocations: 0 / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/0.3728, allocations: 4 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3728, allocations: 4 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3728, allocations: 4.328 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3728, allocations: 0 / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3728, allocations: 0 / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.373, allocations: 163.4 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/0.373, allocations: 19.88 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.373, allocations: 0 / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3731, allocations: 7.984 kB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.3732, allocations: 11.98 kB / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.3732, allocations: 8 kB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.148e-05/0.3733, allocations: 105.9 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3733, allocations: 0 / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000228/0.3735, allocations: 11.95 kB / 1.368 GB, free: 9.141 MB / 1.061 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.0005917/0.3741, allocations: 0.6812 MB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.3742, allocations: 35.92 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3742, allocations: 0 / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.921e-05/0.3743, allocations: 23.98 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.3746, allocations: 8 kB / 1.369 GB, free: 8.367 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.3763, allocations: 1.377 MB / 1.37 GB, free: 6.914 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.175e-05/0.3764, allocations: 75.27 kB / 1.37 GB, free: 6.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.511e-05/0.3764, allocations: 8 kB / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.3765, allocations: 27.42 kB / 1.37 GB, free: 6.785 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.3765, allocations: 3.938 kB / 1.37 GB, free: 6.781 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03259/0.4091, allocations: 2.573 MB / 1.373 GB, free: 4.359 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.95, allocations: 13.11 kB / 1.373 GB, free: 4.352 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.038942761253566]