Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.001802/0.001802, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.002277/0.002277, allocations: 217 kB / 22.25 MB, free: 5.082 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 8.035 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.279/3.279, allocations: 0.505 GB / 0.8101 GB, free: 22.11 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.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.002001/0.002001, allocations: 71.33 kB / 1.177 GB, free: 17.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3778, allocations: 180.2 MB / 1.353 GB, free: 8.523 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001993/0.3798, allocations: 0.7097 MB / 1.354 GB, free: 7.816 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.3808, allocations: 0.8666 MB / 1.354 GB, free: 6.938 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.43e-05/0.3809, allocations: 0 / 1.354 GB, free: 6.938 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.487e-05/0.3809, allocations: 3.938 kB / 1.354 GB, free: 6.934 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.234e-05/0.381, allocations: 11.94 kB / 1.354 GB, free: 6.922 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.3811, allocations: 23.86 kB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.3812, allocations: 43.91 kB / 1.354 GB, free: 6.855 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.3814, allocations: 15.97 kB / 1.355 GB, free: 6.84 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.021e-05/0.3814, allocations: 23.88 kB / 1.355 GB, free: 6.816 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.3815, allocations: 23.91 kB / 1.355 GB, free: 6.793 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.3815, allocations: 4 kB / 1.355 GB, free: 6.789 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.3815, allocations: 4 kB / 1.355 GB, free: 6.785 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.3816, allocations: 8 kB / 1.355 GB, free: 6.777 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.3816, allocations: 23.84 kB / 1.355 GB, free: 6.754 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.3817, allocations: 56.08 kB / 1.355 GB, free: 6.699 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3817, allocations: 0 / 1.355 GB, free: 6.699 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3817, allocations: 0 / 1.355 GB, free: 6.699 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.567e-06/0.3817, allocations: 0 / 1.355 GB, free: 6.699 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.000552/0.3823, allocations: 282.2 kB / 1.355 GB, free: 6.395 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3823, allocations: 8.031 kB / 1.355 GB, free: 6.387 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.3823, allocations: 34.75 kB / 1.355 GB, free: 6.344 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.679e-05/0.3824, allocations: 0.9375 kB / 1.355 GB, free: 6.344 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.3825, allocations: 122.4 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.3825, allocations: 12.38 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.3825, allocations: 4.125 kB / 1.355 GB, free: 6.184 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.3828, allocations: 69.64 kB / 1.355 GB, free: 6.109 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3828, allocations: 3.938 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.3828, allocations: 0 / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3828, allocations: 0 / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.383, allocations: 51.95 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005164/0.3835, allocations: 263.8 kB / 1.355 GB, free: 5.754 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.3837, allocations: 66.55 kB / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.3838, allocations: 28.89 kB / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.3839, allocations: 0 / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.57e-05/0.3839, allocations: 38.55 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.3839, allocations: 0 / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004336/0.3843, allocations: 105.6 kB / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.3844, allocations: 51.41 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.657e-05/0.3845, allocations: 113.8 kB / 1.356 GB, free: 5.309 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.3845, allocations: 25.7 kB / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.3846, allocations: 92.09 kB / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.3846, allocations: 11.89 kB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.3847, allocations: 21.7 kB / 1.356 GB, free: 5.145 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3848, allocations: 314.8 kB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.3849, allocations: 23.97 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.595e-05/0.385, allocations: 19.98 kB / 1.356 GB, free: 4.785 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.3852, allocations: 64.81 kB / 1.356 GB, free: 4.719 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3852, allocations: 3.938 kB / 1.356 GB, free: 4.715 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002314/0.3854, allocations: 85.53 kB / 1.356 GB, free: 4.625 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3855, allocations: 8 kB / 1.356 GB, free: 4.617 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3855, allocations: 0 / 1.356 GB, free: 4.617 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3855, allocations: 0 / 1.356 GB, free: 4.617 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.3856, allocations: 11.98 kB / 1.356 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3856, allocations: 0 / 1.356 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.768e-05/0.3857, allocations: 15.98 kB / 1.357 GB, free: 4.59 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.3857, allocations: 7.938 kB / 1.357 GB, free: 4.582 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,intGreThr.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.745e-05/0.3858, allocations: 110.4 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.3858, allocations: 4 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.3859, allocations: 11.98 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3859, allocations: 3.938 kB / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3859, allocations: 0 / 1.357 GB, free: 4.441 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.3859, allocations: 4 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.3861, allocations: 144.7 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3861, allocations: 4 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.869e-05/0.3861, allocations: 15.92 kB / 1.357 GB, free: 4.234 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.3862, allocations: 3.984 kB / 1.357 GB, free: 4.23 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.3862, allocations: 8 kB / 1.357 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3862, allocations: 0 / 1.357 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3862, allocations: 0 / 1.357 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.3865, allocations: 191.7 kB / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/0.3865, allocations: 0 / 1.357 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.3865, allocations: 4 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3866, allocations: 7.984 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.3867, allocations: 11.98 kB / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3867, allocations: 0 / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.351e-05/0.3867, allocations: 91.2 kB / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3867, allocations: 0 / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002128/0.3869, allocations: 8 kB / 1.357 GB, free: 3.898 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 (intGreThr.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.0005891/0.3875, allocations: 0.7124 MB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002643/0.3878, allocations: 55.95 kB / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3878, allocations: 4 kB / 1.358 GB, free: 3.102 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.3879, allocations: 31.91 kB / 1.358 GB, free: 3.07 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.3882, allocations: 11.98 kB / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.3899, allocations: 1.323 MB / 1.359 GB, free: 1.656 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.3902, allocations: 0.6923 MB / 1.36 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.001e-05/0.3902, allocations: 0 / 1.36 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.982e-05/0.3903, allocations: 19.42 kB / 1.36 GB, free: 0.918 MB / 1.045 GB Notification: Performance of SimCode: time 2.81e-07/0.3903, allocations: 0 / 1.36 GB, free: 0.918 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.4188, allocations: 1.965 MB / 1.362 GB, free: 15.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.25, allocations: 9.375 kB / 1.362 GB, free: 15.08 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_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_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intGreThr.t in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.t from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable intGreThr.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable intGreThr.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.344219687000077]