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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 114.1 kB / 17.96 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 196.4 kB / 21.21 MB, free: 0.9141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 249.9 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.738/2.738, allocations: 476.7 MB / 0.7635 GB, free: 10.93 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 63.91 kB / 1.108 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9619/0.964, allocations: 168.7 MB / 1.272 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.003579/0.9675, allocations: 0.8203 MB / 1.273 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002103/0.9696, allocations: 0.8741 MB / 1.274 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.9698, allocations: 4 kB / 1.274 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.97, allocations: 19.8 kB / 1.274 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.552e-05/0.9701, allocations: 11.88 kB / 1.274 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.9704, allocations: 31.89 kB / 1.274 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.9707, allocations: 75.78 kB / 1.274 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.9708, allocations: 19.98 kB / 1.274 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.971, allocations: 31.86 kB / 1.274 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.9711, allocations: 35.83 kB / 1.274 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.9711, allocations: 4 kB / 1.274 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.151e-05/0.9711, allocations: 11.94 kB / 1.274 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.9712, allocations: 7.938 kB / 1.274 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.831e-05/0.9712, allocations: 35.8 kB / 1.274 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.9715, allocations: 77.44 kB / 1.274 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.9715, allocations: 0 / 1.274 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9715, allocations: 0 / 1.274 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.9715, allocations: 4 kB / 1.274 GB, free: 2.301 MB / 0.9669 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.000827/0.9723, allocations: 399 kB / 1.275 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.9724, allocations: 8.031 kB / 1.275 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.9725, allocations: 30.75 kB / 1.275 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.9725, allocations: 16.83 kB / 1.275 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.973, allocations: 202.2 kB / 1.275 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.973, allocations: 4.375 kB / 1.275 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.973, allocations: 8.375 kB / 1.275 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.9732, allocations: 66.16 kB / 1.275 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.9733, allocations: 3.938 kB / 1.275 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.9733, allocations: 3.984 kB / 1.275 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.9733, allocations: 0 / 1.275 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.9734, allocations: 31.98 kB / 1.275 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008125/0.9743, allocations: 328.7 kB / 1.276 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.9745, allocations: 42.56 kB / 1.276 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.385e-05/0.9746, allocations: 21 kB / 1.276 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.9746, allocations: 0 / 1.276 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/0.9747, allocations: 42.59 kB / 1.276 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.9747, allocations: 0 / 1.276 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003926/0.975, allocations: 65.67 kB / 1.276 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/0.9751, allocations: 55.41 kB / 1.276 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.9753, allocations: 133.8 kB / 1.276 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.9753, allocations: 25.7 kB / 1.276 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.9754, allocations: 96.12 kB / 1.276 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.9755, allocations: 11.95 kB / 1.276 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.9755, allocations: 21.7 kB / 1.276 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002918/0.9758, allocations: 318.8 kB / 1.276 GB, free: 184 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.344e-05/0.9759, allocations: 15.98 kB / 1.276 GB, free: 168 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.577e-05/0.976, allocations: 15.98 kB / 1.276 GB, free: 152 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.9761, allocations: 40.78 kB / 1.276 GB, free: 108 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9761, allocations: 3.938 kB / 1.276 GB, free: 104 kB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002124/0.9763, allocations: 61.64 kB / 1.276 GB, free: 36 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.9763, allocations: 13.88 kB / 1.276 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.9763, allocations: 0 / 1.276 GB, free: 24 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.9764, allocations: 3.984 kB / 1.276 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.371e-05/0.9765, allocations: 4 kB / 1.276 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.9765, allocations: 0 / 1.276 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.9766, allocations: 11.92 kB / 1.276 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.9766, allocations: 4.203 kB / 1.276 GB, free: 16 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.000141/0.9768, allocations: 121.7 kB / 1.277 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/0.9768, allocations: 11.89 kB / 1.277 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.555e-05/0.9768, allocations: 16.23 kB / 1.277 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.9768, allocations: 0 / 1.277 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.9769, allocations: 0 / 1.277 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.9769, allocations: 0 / 1.277 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.9772, allocations: 185.6 kB / 1.277 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.9772, allocations: 0 / 1.277 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.831e-05/0.9772, allocations: 0 / 1.277 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.9772, allocations: 4 kB / 1.277 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.9772, allocations: 0 / 1.277 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.9772, allocations: 7.984 kB / 1.277 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.9772, allocations: 336 / 1.277 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.9775, allocations: 163.4 kB / 1.277 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.66e-05/0.9776, allocations: 81.06 kB / 1.277 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.9776, allocations: 4 kB / 1.277 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.9778, allocations: 7.984 kB / 1.277 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.174e-05/0.9779, allocations: 15.92 kB / 1.277 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.9779, allocations: 4 kB / 1.277 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001261/0.978, allocations: 103.3 kB / 1.277 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.978, allocations: 0 / 1.277 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004251/0.9784, allocations: 11.94 kB / 1.277 GB, free: 15.18 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.0007944/0.9792, allocations: 0.6934 MB / 1.278 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.9794, allocations: 35.92 kB / 1.278 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.9794, allocations: 0 / 1.278 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.304e-05/0.9795, allocations: 19.98 kB / 1.278 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.98, allocations: 14.03 kB / 1.278 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.9824, allocations: 1.41 MB / 1.279 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.9828, allocations: 0.6962 MB / 1.28 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.28e-05/0.9829, allocations: 4 kB / 1.28 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.561e-05/0.983, allocations: 27.42 kB / 1.28 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.983, allocations: 0 / 1.28 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0349/1.018, allocations: 1.983 MB / 1.282 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.994/9.012, allocations: 9.609 kB / 1.282 GB, free: 10.25 MB / 0.9825 GB " [Timeout remaining time 291] (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_2/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: 15.004456453956664]