Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01524/0.01524, allocations: 106.1 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.002204/0.002204, allocations: 181.1 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.359/2.359, allocations: 194.6 MB / 211.3 MB, free: 11.09 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.327/2.327, allocations: 236.2 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004922, allocations: 12 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6752/0.6758, allocations: 98.71 MB / 0.6834 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001794/0.6776, allocations: 1.172 MB / 0.6846 GB, free: 16 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0004854/0.6781, allocations: 178.8 kB / 0.6848 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.001e-05/0.6782, allocations: 1.344 kB / 0.6848 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.6782, allocations: 5.781 kB / 0.6848 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.6783, allocations: 10.73 kB / 0.6848 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.6785, allocations: 26.77 kB / 0.6848 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.6787, allocations: 50.17 kB / 0.6848 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.6788, allocations: 26.06 kB / 0.6849 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 9.186e-05/0.6789, allocations: 30.91 kB / 0.6849 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.679, allocations: 40.22 kB / 0.6849 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.6791, allocations: 3.625 kB / 0.6849 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.288e-05/0.6791, allocations: 3.125 kB / 0.6849 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.6791, allocations: 18.58 kB / 0.685 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.6792, allocations: 38.39 kB / 0.685 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.6793, allocations: 56.53 kB / 0.6851 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.6793, allocations: 4 kB / 0.6851 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6793, allocations: 0 / 0.6851 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.6793, allocations: 0 / 0.6851 GB, free: 15.72 MB / 0.5261 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.0007913/0.6801, allocations: 393.5 kB / 0.6854 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.6802, allocations: 9.438 kB / 0.6854 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.062e-05/0.6803, allocations: 41.31 kB / 0.6855 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.6803, allocations: 13.06 kB / 0.6855 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.6805, allocations: 177.2 kB / 0.6857 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.6805, allocations: 3.812 kB / 0.6857 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.6805, allocations: 6.562 kB / 0.6857 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004923/0.681, allocations: 119.1 kB / 0.6858 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.681, allocations: 0 / 0.6858 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.6811, allocations: 0.9688 kB / 0.6858 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.6811, allocations: 1.922 kB / 0.6858 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007032/0.6818, allocations: 129.1 kB / 0.6859 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007096/0.6825, allocations: 343.5 kB / 0.6862 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.6836, allocations: 132.9 kB / 0.6864 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.6837, allocations: 1.531 kB / 0.6864 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.6837, allocations: 39.5 kB / 0.6864 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.354e-06/0.6838, allocations: 0 / 0.6864 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.001176/0.6849, allocations: 223.5 kB / 0.6866 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.685, allocations: 53.81 kB / 0.6867 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.6851, allocations: 130.2 kB / 0.6868 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.6852, allocations: 26.61 kB / 0.6868 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.6852, allocations: 89.34 kB / 0.6869 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.6853, allocations: 24.17 kB / 0.6869 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.6853, allocations: 0 / 0.6869 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.747e-05/0.6854, allocations: 319.2 kB / 0.6872 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/0.6857, allocations: 58.2 kB / 0.6873 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.6861, allocations: 54.45 kB / 0.6873 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.6864, allocations: 65.62 kB / 0.6874 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6864, allocations: 0 / 0.6874 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007722/0.6872, allocations: 165.3 kB / 0.6876 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.6873, allocations: 9.453 kB / 0.6876 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.6873, allocations: 0.8438 kB / 0.6876 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.6873, allocations: 9.047 kB / 0.6876 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.6876, allocations: 32.45 kB / 0.6876 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.6877, allocations: 0.7031 kB / 0.6876 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.6879, allocations: 17.3 kB / 0.6876 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.6879, allocations: 3.828 kB / 0.6876 GB, free: 13.76 MB / 0.5261 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 (add1.y,reaToInt.y,reaToInt1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.948e-05/0.688, allocations: 113.9 kB / 0.6877 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.6881, allocations: 7.25 kB / 0.6877 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.6881, allocations: 23.98 kB / 0.6878 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.6882, allocations: 1.094 kB / 0.6878 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.6882, allocations: 0 / 0.6878 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.6882, allocations: 0.6562 kB / 0.6878 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.6885, allocations: 196.6 kB / 0.688 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.6885, allocations: 0.9688 kB / 0.688 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.6888, allocations: 32.23 kB / 0.688 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.6888, allocations: 1.562 kB / 0.688 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.6888, allocations: 5.078 kB / 0.688 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.6888, allocations: 10.33 kB / 0.688 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6889, allocations: 0 / 0.688 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007949/0.6897, allocations: 258.1 kB / 0.6883 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.628e-05/0.6897, allocations: 89.08 kB / 0.6883 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.6897, allocations: 0 / 0.6883 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.69, allocations: 25.66 kB / 0.6884 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.6901, allocations: 22.36 kB / 0.6884 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.6902, allocations: 3.266 kB / 0.6884 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.771e-05/0.6902, allocations: 102.5 kB / 0.6885 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6903, allocations: 0 / 0.6885 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003166/0.6906, allocations: 13.56 kB / 0.6885 GB, free: 13.03 MB / 0.5261 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 (add1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001019/0.6916, allocations: 0.7972 MB / 0.6893 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008105/0.6924, allocations: 131.8 kB / 0.6894 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6925, allocations: 0 / 0.6894 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.6929, allocations: 70.94 kB / 0.6895 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.6932, allocations: 12.41 kB / 0.6895 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.6954, allocations: 0.6763 MB / 0.6901 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.6956, allocations: 0.6953 MB / 0.6908 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001307/0.6957, allocations: 12.09 kB / 0.6908 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.6959, allocations: 29.91 kB / 0.6909 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of SimCode: time 1.292e-06/0.6959, allocations: 0 / 0.6909 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.7171, allocations: 2.292 MB / 0.6931 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/0.7173, allocations: 178.4 kB / 0.6933 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/3.09, allocations: 0 / 0.6933 GB, free: 10.65 MB / 0.5261 GB