Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.001598/0.001598, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002034/0.002034, allocations: 213.5 kB / 22.24 MB, free: 4.855 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.779/1.779, allocations: 230.6 MB / 256 MB, free: 7.793 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.339/3.339, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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.LessEqual,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",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.002044/0.002044, allocations: 68.55 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.3801, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002305/0.3824, allocations: 0.7522 MB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.3837, allocations: 0.886 MB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.249e-05/0.3837, allocations: 0 / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.003e-05/0.3838, allocations: 11.81 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.559e-05/0.3839, allocations: 7.938 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.3841, allocations: 39.89 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.3842, allocations: 79.88 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.3843, allocations: 20.27 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.3845, allocations: 43.78 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.855e-05/0.3846, allocations: 43.83 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.966e-05/0.3846, allocations: 12 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.946e-05/0.3846, allocations: 8 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.3846, allocations: 23.91 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.037e-05/0.3847, allocations: 35.84 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.3849, allocations: 79.67 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3849, allocations: 4 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3849, allocations: 0 / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.3849, allocations: 0 / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007705/0.3856, allocations: 318 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.3857, allocations: 16.03 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.177e-05/0.3857, allocations: 38.73 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.3858, allocations: 8.891 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.3859, allocations: 122.3 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.386, allocations: 8.375 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.386, allocations: 8.125 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.3863, allocations: 104.1 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3863, allocations: 4 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.3863, allocations: 11.97 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.3863, allocations: 4 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003841/0.3867, allocations: 95.84 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006116/0.3873, allocations: 295.8 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/0.388, allocations: 114.5 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.3882, allocations: 56.81 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.3882, allocations: 7.984 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.3882, allocations: 30.56 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3882, allocations: 0 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0007008/0.3889, allocations: 189.4 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.389, allocations: 51.41 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.3891, allocations: 125.8 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.3891, allocations: 25.7 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.3892, allocations: 100 kB / 1.367 GB, free: 10.19 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.3892, allocations: 23.78 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.554e-05/0.3893, allocations: 21.7 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3894, allocations: 318.8 kB / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.3896, allocations: 43.95 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.3898, allocations: 47.95 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/0.3901, allocations: 100.8 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3902, allocations: 3.938 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004213/0.3906, allocations: 129.6 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3906, allocations: 8 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.3906, allocations: 3.984 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.3906, allocations: 0 / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.3908, allocations: 31.91 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.3908, allocations: 3.938 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.3909, allocations: 11.98 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.3909, allocations: 0 / 1.368 GB, free: 9.434 MB / 1.061 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 (reaToInt1.y,reaToInt.y,intLesEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001292/0.3911, allocations: 117.8 kB / 1.368 GB, free: 9.309 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.3911, allocations: 7.953 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.3911, allocations: 12.36 kB / 1.368 GB, free: 9.285 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3911, allocations: 4 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3912, allocations: 3.938 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3912, allocations: 0 / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.3914, allocations: 160.7 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3914, allocations: 0 / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.3916, allocations: 19.97 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.3916, allocations: 8 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.3916, allocations: 3.984 kB / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3916, allocations: 0 / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.3916, allocations: 3.938 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005277/0.3921, allocations: 235.3 kB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.3922, allocations: 11.89 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.3922, allocations: 4 kB / 1.368 GB, free: 8.781 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.3923, allocations: 15.98 kB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3924, allocations: 23.91 kB / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.3924, allocations: 4 kB / 1.368 GB, free: 8.738 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.644e-05/0.3925, allocations: 95.27 kB / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3925, allocations: 0 / 1.368 GB, free: 8.645 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002529/0.3928, allocations: 16 kB / 1.368 GB, free: 8.629 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0008865/0.3937, allocations: 0.7747 MB / 1.369 GB, free: 7.828 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004415/0.3941, allocations: 100.6 kB / 1.369 GB, free: 7.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.3941, allocations: 7.938 kB / 1.369 GB, free: 7.723 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.3943, allocations: 63.88 kB / 1.369 GB, free: 7.66 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.3947, allocations: 12.25 kB / 1.369 GB, free: 7.648 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.3972, allocations: 1.529 MB / 1.371 GB, free: 6.039 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.148e-05/0.3973, allocations: 75.33 kB / 1.371 GB, free: 5.945 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.646e-05/0.3974, allocations: 12 kB / 1.371 GB, free: 5.934 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.709e-05/0.3975, allocations: 31.42 kB / 1.371 GB, free: 5.902 MB / 1.061 GB Notification: Performance of SimCode: time 7.02e-07/0.3975, allocations: 0 / 1.371 GB, free: 5.902 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0343/0.4318, allocations: 3.372 MB / 1.374 GB, free: 2.676 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.78, allocations: 10.73 kB / 1.374 GB, free: 2.672 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_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_LessEqual.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intLesEqu.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.csv. Warning: Get data of variable intLesEqu.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.csv failed! Error: Could not read variable intLesEqu.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.csv. Warning: Get data of variable intLesEqu.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.csv failed! Error: Could not read variable intLesEqu.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.csv. Warning: Get data of variable intLesEqu.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.164316583890468]