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.001657/0.001657, allocations: 104.4 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.002211/0.002211, 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.53/1.53, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.309/3.309, allocations: 0.505 GB / 0.8066 GB, free: 23.19 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.002232/0.002232, allocations: 68.69 kB / 1.172 GB, free: 17.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3774, allocations: 180.2 MB / 1.348 GB, free: 9.887 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002244/0.3797, allocations: 0.8213 MB / 1.349 GB, free: 9.07 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3811, allocations: 0.9171 MB / 1.35 GB, free: 8.141 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.3812, allocations: 7.875 kB / 1.35 GB, free: 8.133 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001476/0.3813, allocations: 19.86 kB / 1.35 GB, free: 8.113 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.118e-05/0.3814, allocations: 15.86 kB / 1.35 GB, free: 8.098 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.3816, allocations: 23.97 kB / 1.35 GB, free: 8.074 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.3817, allocations: 75.78 kB / 1.35 GB, free: 8 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3819, allocations: 23.92 kB / 1.35 GB, free: 7.977 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.382, allocations: 31.91 kB / 1.35 GB, free: 7.945 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.1e-05/0.3821, allocations: 31.84 kB / 1.35 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.3821, allocations: 7.938 kB / 1.35 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.464e-05/0.3821, allocations: 8 kB / 1.35 GB, free: 7.898 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.3821, allocations: 19.94 kB / 1.35 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.3822, allocations: 31.78 kB / 1.35 GB, free: 7.848 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.3824, allocations: 95.83 kB / 1.35 GB, free: 7.754 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3824, allocations: 0 / 1.35 GB, free: 7.754 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3824, allocations: 0 / 1.35 GB, free: 7.754 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.3824, allocations: 0 / 1.35 GB, free: 7.754 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.0006125/0.383, allocations: 391.1 kB / 1.35 GB, free: 7.32 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.383, allocations: 15.98 kB / 1.35 GB, free: 7.305 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.3831, allocations: 30.75 kB / 1.35 GB, free: 7.266 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.3832, allocations: 24.88 kB / 1.35 GB, free: 7.242 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.3835, allocations: 204.2 kB / 1.351 GB, free: 7.004 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.3835, allocations: 384 / 1.351 GB, free: 7.004 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.3836, allocations: 4.375 kB / 1.351 GB, free: 7 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.3837, allocations: 62.23 kB / 1.351 GB, free: 6.934 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3837, allocations: 3.938 kB / 1.351 GB, free: 6.93 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.3837, allocations: 3.984 kB / 1.351 GB, free: 6.926 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3837, allocations: 4 kB / 1.351 GB, free: 6.922 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.3839, allocations: 35.92 kB / 1.351 GB, free: 6.887 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005459/0.3844, allocations: 320.7 kB / 1.351 GB, free: 6.523 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.3846, allocations: 46.59 kB / 1.351 GB, free: 6.469 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.64e-05/0.3847, allocations: 21 kB / 1.351 GB, free: 6.445 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.3847, allocations: 7.984 kB / 1.351 GB, free: 6.438 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.3847, allocations: 30.56 kB / 1.351 GB, free: 6.398 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.3847, allocations: 0 / 1.351 GB, free: 6.398 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002714/0.385, allocations: 73.62 kB / 1.351 GB, free: 6.32 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.385, allocations: 51.41 kB / 1.351 GB, free: 6.258 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.3852, allocations: 147.7 kB / 1.351 GB, free: 6.105 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.3852, allocations: 29.64 kB / 1.351 GB, free: 6.07 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.3853, allocations: 104.1 kB / 1.351 GB, free: 5.965 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.3853, allocations: 7.953 kB / 1.351 GB, free: 5.957 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.3853, allocations: 17.7 kB / 1.351 GB, free: 5.934 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3855, allocations: 322.8 kB / 1.352 GB, free: 5.609 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-05/0.3855, allocations: 15.98 kB / 1.352 GB, free: 5.594 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.538e-05/0.3856, allocations: 12 kB / 1.352 GB, free: 5.582 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.719e-05/0.3857, allocations: 32.83 kB / 1.352 GB, free: 5.547 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.3857, allocations: 4 kB / 1.352 GB, free: 5.543 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000151/0.3858, allocations: 61.64 kB / 1.352 GB, free: 5.477 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3859, allocations: 7.938 kB / 1.352 GB, free: 5.469 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3859, allocations: 4 kB / 1.352 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3859, allocations: 0 / 1.352 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.928e-05/0.386, allocations: 7.922 kB / 1.352 GB, free: 5.457 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.386, allocations: 4 kB / 1.352 GB, free: 5.453 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.668e-05/0.3861, allocations: 15.98 kB / 1.352 GB, free: 5.438 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.3861, allocations: 3.938 kB / 1.352 GB, free: 5.434 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 9.483e-05/0.3862, allocations: 113.8 kB / 1.352 GB, free: 5.312 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.3862, allocations: 7.953 kB / 1.352 GB, free: 5.305 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.3862, allocations: 12.25 kB / 1.352 GB, free: 5.281 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3862, allocations: 0 / 1.352 GB, free: 5.281 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3862, allocations: 3.984 kB / 1.352 GB, free: 5.277 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3862, allocations: 0 / 1.352 GB, free: 5.277 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.3864, allocations: 185.6 kB / 1.352 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3864, allocations: 0 / 1.352 GB, free: 5.047 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.815e-05/0.3865, allocations: 4 kB / 1.352 GB, free: 5.043 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3865, allocations: 0 / 1.352 GB, free: 5.043 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3865, allocations: 4 kB / 1.352 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3865, allocations: 4 kB / 1.352 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3865, allocations: 0 / 1.352 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.3867, allocations: 163.4 kB / 1.352 GB, free: 4.859 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.009e-05/0.3868, allocations: 92.98 kB / 1.352 GB, free: 4.75 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.3868, allocations: 4 kB / 1.352 GB, free: 4.746 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.973e-05/0.3869, allocations: 7.984 kB / 1.352 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.3869, allocations: 11.98 kB / 1.353 GB, free: 4.727 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.387, allocations: 384 / 1.353 GB, free: 4.727 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.138e-05/0.387, allocations: 105.2 kB / 1.353 GB, free: 4.625 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.387, allocations: 0 / 1.353 GB, free: 4.625 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002198/0.3873, allocations: 12 kB / 1.353 GB, free: 4.613 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.0006028/0.3879, allocations: 0.7006 MB / 1.353 GB, free: 3.887 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001719/0.388, allocations: 35.97 kB / 1.353 GB, free: 3.852 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.388, allocations: 0 / 1.353 GB, free: 3.852 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.781e-05/0.3881, allocations: 15.98 kB / 1.353 GB, free: 3.836 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.3884, allocations: 12 kB / 1.353 GB, free: 3.824 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.3901, allocations: 1.376 MB / 1.355 GB, free: 2.371 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.3905, allocations: 0.6923 MB / 1.355 GB, free: 1.652 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.015e-05/0.3905, allocations: 4 kB / 1.355 GB, free: 1.648 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.429e-05/0.3906, allocations: 27.42 kB / 1.355 GB, free: 1.621 MB / 1.045 GB Notification: Performance of SimCode: time 4.31e-07/0.3906, allocations: 0 / 1.355 GB, free: 1.621 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.4198, allocations: 2.006 MB / 1.357 GB, free: 15.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.386/8.806, allocations: 5.484 kB / 1.357 GB, free: 15.73 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.824247339973226]