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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004864/0.004864, allocations: 106.1 kB / 15.74 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 193.3 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.558/2.558, allocations: 469.4 MB / 0.7421 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 71.89 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7842/0.7855, allocations: 159.1 MB / 1.22 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002042/0.7876, allocations: 0.7696 MB / 1.221 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.7887, allocations: 0.8623 MB / 1.221 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.749e-05/0.7887, allocations: 7.938 kB / 1.221 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.912e-05/0.7888, allocations: 7.875 kB / 1.221 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.811e-05/0.7889, allocations: 11.92 kB / 1.221 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001827/0.7891, allocations: 43.89 kB / 1.221 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.7892, allocations: 79.81 kB / 1.221 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.7893, allocations: 24 kB / 1.222 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.316e-05/0.7894, allocations: 47.77 kB / 1.222 GB, free: 424 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.776e-05/0.7895, allocations: 47.83 kB / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.7896, allocations: 8 kB / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.712e-05/0.7896, allocations: 4 kB / 1.222 GB, free: 364 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.853e-05/0.7896, allocations: 23.92 kB / 1.222 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.941e-05/0.7897, allocations: 43.83 kB / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.7898, allocations: 82.34 kB / 1.222 GB, free: 216 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.7898, allocations: 0 / 1.222 GB, free: 216 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.993e-06/0.7898, allocations: 0 / 1.222 GB, free: 216 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.7899, allocations: 0 / 1.222 GB, free: 216 kB / 0.9356 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.0006888/0.7905, allocations: 396.1 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.7906, allocations: 16.61 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/0.7907, allocations: 38.69 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.7907, allocations: 12.89 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.7908, allocations: 172.3 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.7909, allocations: 8.359 kB / 1.222 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.7909, allocations: 12.12 kB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.7912, allocations: 105.6 kB / 1.222 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.7913, allocations: 0 / 1.222 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.7913, allocations: 0 / 1.222 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.7913, allocations: 0 / 1.222 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000383/0.7917, allocations: 103.8 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.7922, allocations: 344.6 kB / 1.223 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000643/0.7929, allocations: 126.5 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.7931, allocations: 52.81 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.7931, allocations: 4 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.7932, allocations: 30.56 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.7932, allocations: 3.938 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0006851/0.7938, allocations: 185.5 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.7939, allocations: 55.41 kB / 1.223 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.776e-05/0.794, allocations: 126 kB / 1.223 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.794, allocations: 25.7 kB / 1.223 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.7941, allocations: 96.08 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.7941, allocations: 23.8 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.7942, allocations: 25.7 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.7943, allocations: 318.8 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.7945, allocations: 47.89 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.7947, allocations: 43.95 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003451/0.795, allocations: 96.78 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.795, allocations: 0 / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004117/0.7954, allocations: 133.5 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.7955, allocations: 4 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.7955, allocations: 8 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.7955, allocations: 3.938 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.7957, allocations: 27.97 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.7957, allocations: 3.938 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.7958, allocations: 11.98 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.7958, allocations: 7.984 kB / 1.224 GB, free: 13.36 MB / 0.9512 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 8.957e-05/0.7959, allocations: 114.4 kB / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.796, allocations: 3.953 kB / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.796, allocations: 16.38 kB / 1.224 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.796, allocations: 0 / 1.224 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.796, allocations: 3.938 kB / 1.224 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.796, allocations: 0 / 1.224 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.7962, allocations: 201.6 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.7962, allocations: 0 / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.7964, allocations: 27.91 kB / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7964, allocations: 0 / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.7964, allocations: 4 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.7964, allocations: 7.938 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7964, allocations: 7.922 kB / 1.225 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.7969, allocations: 224 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.797, allocations: 89.05 kB / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.797, allocations: 0 / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.7971, allocations: 19.98 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/0.7972, allocations: 27.91 kB / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.7972, allocations: 0 / 1.225 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.908e-05/0.7973, allocations: 99.31 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7973, allocations: 0 / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002428/0.7976, allocations: 15.94 kB / 1.225 GB, free: 12.42 MB / 0.9512 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.0007563/0.7983, allocations: 0.7749 MB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004202/0.7987, allocations: 103.9 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7988, allocations: 4 kB / 1.226 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.799, allocations: 63.89 kB / 1.226 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.7993, allocations: 17.58 kB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.8013, allocations: 1.545 MB / 1.228 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.8016, allocations: 0.6885 MB / 1.228 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.301e-05/0.8017, allocations: 15.98 kB / 1.228 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.455e-05/0.8018, allocations: 31.42 kB / 1.228 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.8018, allocations: 0 / 1.228 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.8194, allocations: 2.716 MB / 1.231 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/8.576, allocations: 16.61 kB / 1.231 GB, free: 6.434 MB / 0.9512 GB (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 50 --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) 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) Reference file matches