Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,fileNamePrefix="Buildings_10_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.004848/0.004848, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001074/0.001074, allocations: 189.8 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.447/2.447, allocations: 437.1 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 64.09 kB / 1.018 GB, free: 9.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7399/0.7414, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002117/0.7436, allocations: 0.7772 MB / 1.167 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.7449, allocations: 0.8686 MB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.659e-05/0.745, allocations: 0 / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.753e-05/0.7451, allocations: 11.88 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.7452, allocations: 15.86 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.7454, allocations: 35.89 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.7455, allocations: 79.88 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.7457, allocations: 27.98 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.984e-05/0.7458, allocations: 43.78 kB / 1.168 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.197e-05/0.7458, allocations: 47.81 kB / 1.168 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.7459, allocations: 8 kB / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.427e-05/0.7459, allocations: 8 kB / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.747e-05/0.7459, allocations: 19.92 kB / 1.168 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.127e-05/0.746, allocations: 35.86 kB / 1.168 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.7461, allocations: 95.3 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7461, allocations: 0 / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7461, allocations: 0 / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.7462, allocations: 0 / 1.168 GB, free: 1.676 MB / 0.8887 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.0006216/0.7468, allocations: 395.1 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.7468, allocations: 12.92 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.044e-05/0.7469, allocations: 38.73 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.7469, allocations: 8.891 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.7471, allocations: 184.2 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.7471, allocations: 4.375 kB / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.7471, allocations: 12.12 kB / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.7474, allocations: 106.6 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.423e-06/0.7474, allocations: 0 / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.7475, allocations: 0 / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.7475, allocations: 3.938 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003712/0.7479, allocations: 103.9 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005923/0.7485, allocations: 344.6 kB / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000663/0.7491, allocations: 130.5 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.7493, allocations: 52.81 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.7494, allocations: 7.984 kB / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.7494, allocations: 30.56 kB / 1.17 GB, free: 104 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 2.525e-06/0.7494, allocations: 3.984 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.0006817/0.7501, allocations: 177.5 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.7501, allocations: 59.39 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.7502, allocations: 121.8 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.7503, allocations: 25.7 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.7503, allocations: 92.08 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.7504, allocations: 23.8 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.7504, allocations: 33.64 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.7505, allocations: 314.8 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.7507, allocations: 43.95 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.7509, allocations: 48.25 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.7513, allocations: 104.9 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7513, allocations: 0 / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004194/0.7517, allocations: 133.5 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.7517, allocations: 4 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.7517, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.7517, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.7519, allocations: 31.91 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.752, allocations: 3.938 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.7521, allocations: 15.98 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.7522, allocations: 4 kB / 1.171 GB, free: 14.82 MB / 0.9044 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.0001084/0.7523, allocations: 117.8 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.7523, allocations: 3.953 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.7524, allocations: 12.38 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.7524, allocations: 4 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7524, allocations: 7.875 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7524, allocations: 0 / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002946/0.7527, allocations: 201.6 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7527, allocations: 0 / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.7529, allocations: 23.97 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.7529, allocations: 0 / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.753, allocations: 4 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.753, allocations: 4 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.753, allocations: 3.938 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004543/0.7534, allocations: 235.3 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.7535, allocations: 89 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.7535, allocations: 3.984 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.7537, allocations: 15.98 kB / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.045e-05/0.7537, allocations: 19.92 kB / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.7538, allocations: 11.98 kB / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.356e-05/0.7538, allocations: 95.7 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7538, allocations: 0 / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002409/0.7541, allocations: 15.94 kB / 1.172 GB, free: 13.88 MB / 0.9044 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.0007418/0.7548, allocations: 0.767 MB / 1.172 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004239/0.7553, allocations: 103.9 kB / 1.172 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.7553, allocations: 4 kB / 1.172 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.7555, allocations: 63.88 kB / 1.172 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.7558, allocations: 12.27 kB / 1.172 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.758, allocations: 1.537 MB / 1.174 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.7582, allocations: 0.6885 MB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.06e-05/0.7583, allocations: 12 kB / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.191e-05/0.7584, allocations: 35.41 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.7584, allocations: 0 / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.7768, allocations: 2.711 MB / 1.177 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.627/8.403, allocations: 9.641 kB / 1.177 GB, free: 7.91 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches