Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001909/0.001909, allocations: 102.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.002474/0.002474, 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.485/1.485, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.503/3.503, allocations: 0.505 GB / 0.8066 GB, free: 23.1 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.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.002322/0.002322, allocations: 66.09 kB / 1.172 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3833, allocations: 180.2 MB / 1.348 GB, free: 10.01 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.00278/0.3861, allocations: 0.7131 MB / 1.348 GB, free: 9.297 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.3875, allocations: 0.867 MB / 1.349 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.403e-05/0.3875, allocations: 0 / 1.349 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.234e-05/0.3876, allocations: 3.938 kB / 1.349 GB, free: 8.414 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.908e-05/0.3877, allocations: 11.94 kB / 1.349 GB, free: 8.402 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.3879, allocations: 19.92 kB / 1.349 GB, free: 8.383 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.388, allocations: 47.84 kB / 1.349 GB, free: 8.336 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.3882, allocations: 15.97 kB / 1.349 GB, free: 8.32 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.571e-05/0.3883, allocations: 19.92 kB / 1.349 GB, free: 8.301 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.075e-05/0.3884, allocations: 23.92 kB / 1.349 GB, free: 8.277 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.3884, allocations: 4 kB / 1.349 GB, free: 8.273 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.572e-05/0.3884, allocations: 4 kB / 1.349 GB, free: 8.27 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.605e-05/0.3884, allocations: 7.984 kB / 1.349 GB, free: 8.262 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.487e-05/0.3885, allocations: 23.86 kB / 1.349 GB, free: 8.238 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.3886, allocations: 52.08 kB / 1.35 GB, free: 8.188 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3886, allocations: 0 / 1.35 GB, free: 8.188 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3886, allocations: 0 / 1.35 GB, free: 8.188 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.3886, allocations: 0 / 1.35 GB, free: 8.188 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.0006842/0.3893, allocations: 359.3 kB / 1.35 GB, free: 7.789 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.3894, allocations: 11.98 kB / 1.35 GB, free: 7.777 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.18e-05/0.3894, allocations: 30.75 kB / 1.35 GB, free: 7.738 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.3895, allocations: 4.938 kB / 1.35 GB, free: 7.734 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.3897, allocations: 184.2 kB / 1.35 GB, free: 7.516 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.3897, allocations: 8.375 kB / 1.35 GB, free: 7.508 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.3897, allocations: 4.125 kB / 1.35 GB, free: 7.504 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.39, allocations: 65.66 kB / 1.35 GB, free: 7.434 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.39, allocations: 3.938 kB / 1.35 GB, free: 7.43 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.39, allocations: 0 / 1.35 GB, free: 7.43 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.39, allocations: 0 / 1.35 GB, free: 7.43 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.3902, allocations: 47.95 kB / 1.35 GB, free: 7.383 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/0.3907, allocations: 304.6 kB / 1.351 GB, free: 7.035 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.3909, allocations: 62.53 kB / 1.351 GB, free: 6.965 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.391, allocations: 28.91 kB / 1.351 GB, free: 6.934 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.3911, allocations: 0 / 1.351 GB, free: 6.934 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.3911, allocations: 38.56 kB / 1.351 GB, free: 6.887 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.3911, allocations: 0 / 1.351 GB, free: 6.887 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004407/0.3915, allocations: 105.6 kB / 1.351 GB, free: 6.777 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.3916, allocations: 51.41 kB / 1.351 GB, free: 6.715 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.3917, allocations: 113.8 kB / 1.351 GB, free: 6.594 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.3917, allocations: 25.7 kB / 1.351 GB, free: 6.562 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.3918, allocations: 88.09 kB / 1.351 GB, free: 6.473 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.3918, allocations: 16.02 kB / 1.351 GB, free: 6.457 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.3918, allocations: 17.72 kB / 1.351 GB, free: 6.434 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.392, allocations: 318.8 kB / 1.351 GB, free: 6.113 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.3921, allocations: 19.98 kB / 1.351 GB, free: 6.094 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.971e-05/0.3922, allocations: 23.97 kB / 1.351 GB, free: 6.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.3924, allocations: 64.75 kB / 1.351 GB, free: 6.004 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3924, allocations: 0 / 1.351 GB, free: 6.004 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002578/0.3927, allocations: 81.61 kB / 1.352 GB, free: 5.918 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3927, allocations: 4 kB / 1.352 GB, free: 5.914 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3927, allocations: 0 / 1.352 GB, free: 5.914 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3927, allocations: 0 / 1.352 GB, free: 5.914 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.3928, allocations: 15.97 kB / 1.352 GB, free: 5.898 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3928, allocations: 320 / 1.352 GB, free: 5.898 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.818e-05/0.3929, allocations: 11.94 kB / 1.352 GB, free: 5.887 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.3929, allocations: 7.938 kB / 1.352 GB, free: 5.879 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,intLesEquThr.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.0001036/0.393, allocations: 113.8 kB / 1.352 GB, free: 5.758 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.3931, allocations: 4 kB / 1.352 GB, free: 5.754 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.3931, allocations: 7.906 kB / 1.352 GB, free: 5.734 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3931, allocations: 3.938 kB / 1.352 GB, free: 5.73 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3931, allocations: 0 / 1.352 GB, free: 5.73 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3931, allocations: 0 / 1.352 GB, free: 5.73 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.3933, allocations: 185.5 kB / 1.352 GB, free: 5.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3933, allocations: 4 kB / 1.352 GB, free: 5.496 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.001e-05/0.3934, allocations: 11.98 kB / 1.352 GB, free: 5.484 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3934, allocations: 0 / 1.352 GB, free: 5.484 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3934, allocations: 4 kB / 1.352 GB, free: 5.48 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3934, allocations: 0 / 1.352 GB, free: 5.48 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3934, allocations: 7.984 kB / 1.352 GB, free: 5.473 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.3938, allocations: 191.7 kB / 1.352 GB, free: 5.27 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.3938, allocations: 77.11 kB / 1.352 GB, free: 5.176 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.3938, allocations: 4 kB / 1.352 GB, free: 5.172 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3939, allocations: 11.92 kB / 1.352 GB, free: 5.16 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/0.394, allocations: 11.98 kB / 1.352 GB, free: 5.148 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.394, allocations: 4 kB / 1.352 GB, free: 5.145 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.528e-05/0.3941, allocations: 91.2 kB / 1.352 GB, free: 5.055 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3941, allocations: 0 / 1.352 GB, free: 5.055 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002376/0.3943, allocations: 11.94 kB / 1.352 GB, free: 5.043 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 (intLesEquThr.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.0006802/0.395, allocations: 0.7124 MB / 1.353 GB, free: 4.305 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002803/0.3953, allocations: 55.94 kB / 1.353 GB, free: 4.25 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3953, allocations: 4 kB / 1.353 GB, free: 4.246 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.3954, allocations: 31.92 kB / 1.353 GB, free: 4.215 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.3958, allocations: 5.531 kB / 1.353 GB, free: 4.211 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.3976, allocations: 1.323 MB / 1.354 GB, free: 2.809 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.3979, allocations: 0.6845 MB / 1.355 GB, free: 2.098 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.883e-05/0.398, allocations: 4 kB / 1.355 GB, free: 2.094 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.127e-05/0.398, allocations: 23.42 kB / 1.355 GB, free: 2.07 MB / 1.045 GB Notification: Performance of SimCode: time 4.51e-07/0.398, allocations: 0 / 1.355 GB, free: 2.07 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/0.4243, allocations: 1.859 MB / 1.357 GB, free: 364 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.151/8.575, allocations: 7.078 kB / 1.357 GB, free: 360 kB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_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_LessEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intLesEquThr.t in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.t from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! Error: Could not read variable intLesEquThr.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! Error: Could not read variable intLesEquThr.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.747485890053213]