Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.001389/0.001389, allocations: 102 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.001452/0.001452, 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.511/1.511, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.36/3.36, allocations: 0.505 GB / 0.8066 GB, free: 23.06 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.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",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.002091/0.002091, allocations: 65.31 kB / 1.172 GB, free: 17.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3722, allocations: 180.2 MB / 1.348 GB, free: 10.12 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002046/0.3742, allocations: 0.7054 MB / 1.348 GB, free: 9.418 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.3754, allocations: 0.867 MB / 1.349 GB, free: 8.539 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.066e-05/0.3754, allocations: 4 kB / 1.349 GB, free: 8.535 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/0.3755, allocations: 3.938 kB / 1.349 GB, free: 8.531 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.045e-05/0.3756, allocations: 7.938 kB / 1.349 GB, free: 8.523 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.3757, allocations: 23.91 kB / 1.349 GB, free: 8.5 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.3758, allocations: 43.91 kB / 1.349 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3759, allocations: 11.98 kB / 1.349 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.758e-05/0.376, allocations: 27.86 kB / 1.349 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.3761, allocations: 19.91 kB / 1.349 GB, free: 8.398 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.3761, allocations: 4 kB / 1.349 GB, free: 8.395 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.3761, allocations: 8 kB / 1.349 GB, free: 8.387 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.3761, allocations: 11.98 kB / 1.349 GB, free: 8.375 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.3762, allocations: 19.88 kB / 1.349 GB, free: 8.355 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.3763, allocations: 56 kB / 1.35 GB, free: 8.301 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3763, allocations: 0 / 1.35 GB, free: 8.301 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3763, allocations: 0 / 1.35 GB, free: 8.301 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.3763, allocations: 0 / 1.35 GB, free: 8.301 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.000568/0.3769, allocations: 355.3 kB / 1.35 GB, free: 7.906 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.3769, allocations: 11.98 kB / 1.35 GB, free: 7.895 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.47e-05/0.3769, allocations: 38.75 kB / 1.35 GB, free: 7.848 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.268e-05/0.377, allocations: 4.938 kB / 1.35 GB, free: 7.844 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.3771, allocations: 180.2 kB / 1.35 GB, free: 7.629 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.3772, allocations: 384 / 1.35 GB, free: 7.629 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.3772, allocations: 8.125 kB / 1.35 GB, free: 7.621 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.3774, allocations: 61.66 kB / 1.35 GB, free: 7.555 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.3774, allocations: 7.938 kB / 1.35 GB, free: 7.547 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.3774, allocations: 7.984 kB / 1.35 GB, free: 7.539 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3774, allocations: 0 / 1.35 GB, free: 7.539 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.3776, allocations: 51.95 kB / 1.35 GB, free: 7.488 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006745/0.3783, allocations: 296.7 kB / 1.351 GB, free: 7.148 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.3785, allocations: 58.55 kB / 1.351 GB, free: 7.082 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.3787, allocations: 28.91 kB / 1.351 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.3787, allocations: 8 kB / 1.351 GB, free: 7.043 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.3787, allocations: 30.56 kB / 1.351 GB, free: 7.004 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3787, allocations: 0 / 1.351 GB, free: 7.004 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004534/0.3792, allocations: 109.6 kB / 1.351 GB, free: 6.891 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.3792, allocations: 51.41 kB / 1.351 GB, free: 6.828 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.3793, allocations: 105.8 kB / 1.351 GB, free: 6.715 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.3793, allocations: 29.7 kB / 1.351 GB, free: 6.68 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.287e-05/0.3794, allocations: 96.08 kB / 1.351 GB, free: 6.582 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.3794, allocations: 7.953 kB / 1.351 GB, free: 6.574 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.3795, allocations: 13.72 kB / 1.351 GB, free: 6.555 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3796, allocations: 322.8 kB / 1.351 GB, free: 6.23 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.3797, allocations: 23.98 kB / 1.351 GB, free: 6.207 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.9e-05/0.3798, allocations: 23.97 kB / 1.351 GB, free: 6.184 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.38, allocations: 52.81 kB / 1.351 GB, free: 6.129 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.38, allocations: 0 / 1.351 GB, free: 6.129 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002643/0.3803, allocations: 89.55 kB / 1.352 GB, free: 6.035 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3803, allocations: 5.875 kB / 1.352 GB, free: 6.031 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3803, allocations: 3.984 kB / 1.352 GB, free: 6.027 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3803, allocations: 4 kB / 1.352 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.3805, allocations: 11.98 kB / 1.352 GB, free: 6.012 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3805, allocations: 4 kB / 1.352 GB, free: 6.008 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.314e-05/0.3805, allocations: 7.938 kB / 1.352 GB, free: 6 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.3806, allocations: 7.922 kB / 1.352 GB, free: 5.992 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,intGreEquThr.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.0001109/0.3807, allocations: 117.8 kB / 1.352 GB, free: 5.867 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.3807, allocations: 0 / 1.352 GB, free: 5.867 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.3807, allocations: 3.906 kB / 1.352 GB, free: 5.852 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3807, allocations: 7.938 kB / 1.352 GB, free: 5.844 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3807, allocations: 0 / 1.352 GB, free: 5.844 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3807, allocations: 4.328 kB / 1.352 GB, free: 5.84 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.381, allocations: 181.6 kB / 1.352 GB, free: 5.613 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.381, allocations: 4 kB / 1.352 GB, free: 5.609 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.784e-05/0.381, allocations: 11.92 kB / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3811, allocations: 4 kB / 1.352 GB, free: 5.594 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.3811, allocations: 0 / 1.352 GB, free: 5.594 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3811, allocations: 0 / 1.352 GB, free: 5.594 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3811, allocations: 3.984 kB / 1.352 GB, free: 5.59 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.3814, allocations: 187.4 kB / 1.352 GB, free: 5.391 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/0.3815, allocations: 77.11 kB / 1.352 GB, free: 5.297 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.3815, allocations: 4 kB / 1.352 GB, free: 5.293 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3816, allocations: 7.984 kB / 1.352 GB, free: 5.285 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.3816, allocations: 11.98 kB / 1.352 GB, free: 5.273 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.3817, allocations: 0 / 1.352 GB, free: 5.273 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.138e-05/0.3817, allocations: 95.2 kB / 1.352 GB, free: 5.18 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3817, allocations: 0 / 1.352 GB, free: 5.18 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002279/0.3819, allocations: 8 kB / 1.352 GB, free: 5.172 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 (intGreEquThr.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.0007774/0.3827, allocations: 0.7163 MB / 1.353 GB, free: 4.43 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002743/0.383, allocations: 59.94 kB / 1.353 GB, free: 4.371 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.383, allocations: 0 / 1.353 GB, free: 4.371 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.3831, allocations: 35.91 kB / 1.353 GB, free: 4.336 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.3834, allocations: 4 kB / 1.353 GB, free: 4.332 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.3852, allocations: 1.325 MB / 1.354 GB, free: 2.93 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.3855, allocations: 0.6885 MB / 1.355 GB, free: 2.215 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.799e-05/0.3855, allocations: 4 kB / 1.355 GB, free: 2.211 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.058e-05/0.3856, allocations: 19.42 kB / 1.355 GB, free: 2.191 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3856, allocations: 0 / 1.355 GB, free: 2.191 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.4129, allocations: 1.88 MB / 1.357 GB, free: 468 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.373/8.786, allocations: 3.938 kB / 1.357 GB, free: 464 kB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_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_GreaterEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intGreEquThr.t in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv. Warning: Get data of variable intGreEquThr.t from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv failed! Error: Could not read variable intGreEquThr.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv. Warning: Get data of variable intGreEquThr.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv failed! Error: Could not read variable intGreEquThr.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv. Warning: Get data of variable intGreEquThr.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.865469261072576]