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.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.001368/0.001368, allocations: 104 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.00148/0.00148, allocations: 212.9 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.485/1.485, allocations: 230.6 MB / 252.8 MB, free: 9.113 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.734/2.734, allocations: 476.7 MB / 0.7672 GB, free: 5.195 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_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: 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.00216/0.00216, allocations: 71.91 kB / 1.112 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9095/0.9116, allocations: 169.9 MB / 1.278 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002295/0.9139, allocations: 0.8269 MB / 1.279 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.9152, allocations: 0.9172 MB / 1.28 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.311e-05/0.9153, allocations: 7.938 kB / 1.28 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.9155, allocations: 15.86 kB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.014e-05/0.9155, allocations: 11.81 kB / 1.28 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.9157, allocations: 31.91 kB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000141/0.9159, allocations: 67.78 kB / 1.28 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.916, allocations: 31.97 kB / 1.28 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.9161, allocations: 39.86 kB / 1.28 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.763e-05/0.9162, allocations: 31.78 kB / 1.28 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.9162, allocations: 8 kB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.934e-05/0.9163, allocations: 8 kB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.9163, allocations: 11.98 kB / 1.28 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.306e-05/0.9164, allocations: 31.8 kB / 1.28 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.9165, allocations: 85.44 kB / 1.28 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9165, allocations: 0 / 1.28 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.585e-06/0.9165, allocations: 0 / 1.28 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.9165, allocations: 0 / 1.28 GB, free: 11.35 MB / 0.9825 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.0006575/0.9172, allocations: 395.1 kB / 1.281 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.9172, allocations: 8.031 kB / 1.281 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.991e-05/0.9173, allocations: 38.69 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.9175, allocations: 24.86 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.9178, allocations: 200.2 kB / 1.281 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.9178, allocations: 4.375 kB / 1.281 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.9178, allocations: 4.375 kB / 1.281 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.9179, allocations: 66.22 kB / 1.281 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.918, allocations: 3.938 kB / 1.281 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.918, allocations: 0 / 1.281 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.918, allocations: 4 kB / 1.281 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.9181, allocations: 31.92 kB / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005841/0.9187, allocations: 324.7 kB / 1.281 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.9189, allocations: 46.59 kB / 1.282 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.058e-05/0.9189, allocations: 21 kB / 1.282 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.9189, allocations: 0 / 1.282 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.919, allocations: 34.56 kB / 1.282 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.919, allocations: 0 / 1.282 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002765/0.9192, allocations: 77.56 kB / 1.282 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.9193, allocations: 55.41 kB / 1.282 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.9194, allocations: 132 kB / 1.282 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.9195, allocations: 33.64 kB / 1.282 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.9195, allocations: 104 kB / 1.282 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.9196, allocations: 7.891 kB / 1.282 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.9196, allocations: 25.7 kB / 1.282 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.9198, allocations: 318.8 kB / 1.282 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.544e-05/0.9198, allocations: 15.98 kB / 1.282 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.77e-05/0.9199, allocations: 19.98 kB / 1.282 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.921e-05/0.9199, allocations: 24.84 kB / 1.282 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9199, allocations: 0 / 1.282 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001553/0.9201, allocations: 69.58 kB / 1.282 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.9201, allocations: 8 kB / 1.282 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.9201, allocations: 0 / 1.282 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.9201, allocations: 3.984 kB / 1.282 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.9202, allocations: 4 kB / 1.282 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.9202, allocations: 0 / 1.282 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-05/0.9203, allocations: 11.98 kB / 1.282 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.9203, allocations: 7.938 kB / 1.282 GB, free: 9.035 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.0001176/0.9204, allocations: 113.8 kB / 1.283 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.9205, allocations: 11.95 kB / 1.283 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.9205, allocations: 8.562 kB / 1.283 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.9205, allocations: 0 / 1.283 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.9205, allocations: 4 kB / 1.283 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.9205, allocations: 3.984 kB / 1.283 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.9207, allocations: 185.6 kB / 1.283 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.9207, allocations: 0 / 1.283 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.9208, allocations: 4 kB / 1.283 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.9208, allocations: 0 / 1.283 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.9208, allocations: 7.984 kB / 1.283 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.9208, allocations: 7.938 kB / 1.283 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.9208, allocations: 0 / 1.283 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.921, allocations: 159.4 kB / 1.283 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.9211, allocations: 85.06 kB / 1.283 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.9211, allocations: 0 / 1.283 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.9212, allocations: 11.98 kB / 1.283 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.9212, allocations: 3.984 kB / 1.283 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.9212, allocations: 8 kB / 1.283 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.773e-05/0.9213, allocations: 111 kB / 1.283 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9213, allocations: 0 / 1.283 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002234/0.9215, allocations: 12 kB / 1.283 GB, free: 8.211 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.0005675/0.9221, allocations: 0.7012 MB / 1.284 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001522/0.9223, allocations: 27.98 kB / 1.284 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9223, allocations: 3.938 kB / 1.284 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.819e-05/0.9223, allocations: 23.92 kB / 1.284 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.9226, allocations: 9.406 kB / 1.284 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.9242, allocations: 1.383 MB / 1.285 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.9246, allocations: 0.6924 MB / 1.286 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.615e-05/0.9246, allocations: 4 kB / 1.286 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.309e-05/0.9247, allocations: 23.42 kB / 1.286 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.9247, allocations: 0 / 1.286 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/0.9502, allocations: 2.025 MB / 1.288 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.126/9.076, allocations: 3.312 kB / 1.288 GB, free: 3.305 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/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.193956442875788]