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.Sources.Validation.Constant.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01776/0.01776, allocations: 221.6 kB / 15.17 MB, free: 5.93 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.001822/0.001822, allocations: 179 kB / 16.06 MB, free: 5.828 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 3.969/3.969, allocations: 389.1 MB / 405.9 MB, free: 67.63 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.322/4.322, allocations: 472.3 MB / 0.9018 GB, free: 13.43 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004849, allocations: 12 kB / 1.008 GB, free: 0.8477 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.568/0.5685, allocations: 98.72 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0005474/0.5691, allocations: 268.5 kB / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 3.109e-05/0.5692, allocations: 11.66 kB / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.672e-05/0.5692, allocations: 0 / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.013e-05/0.5692, allocations: 0 / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 2.397e-05/0.5692, allocations: 0 / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 2.257e-05/0.5693, allocations: 0.6562 kB / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 3.45e-05/0.5693, allocations: 0 / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.5694, allocations: 7.984 kB / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.174e-05/0.5694, allocations: 0 / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 1.525e-05/0.5694, allocations: 3.938 kB / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.5694, allocations: 0 / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 3.672e-06/0.5694, allocations: 0.7812 kB / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 7.32e-06/0.5695, allocations: 0.5625 kB / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 1.565e-05/0.5695, allocations: 28.61 kB / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 3.17e-05/0.5695, allocations: 0 / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.214e-06/0.5695, allocations: 0 / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.839e-06/0.5695, allocations: 4 kB / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.5696, allocations: 0 / 1.104 GB, free: 183.5 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001755/0.5697, allocations: 312.2 kB / 1.105 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.5698, allocations: 12.03 kB / 1.105 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.5698, allocations: 11.27 kB / 1.105 GB, free: 183.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.084e-05/0.5699, allocations: 161.1 kB / 1.105 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.5699, allocations: 0 / 1.105 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.796e-06/0.5699, allocations: 0 / 1.105 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.406e-05/0.57, allocations: 25.7 kB / 1.105 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.068e-06/0.57, allocations: 4 kB / 1.105 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.138e-06/0.5701, allocations: 0 / 1.105 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.31e-06/0.5701, allocations: 0.6562 kB / 1.105 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.447e-05/0.5701, allocations: 9.188 kB / 1.105 GB, free: 182.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.5703, allocations: 383.5 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.423e-05/0.5704, allocations: 170.4 kB / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.5704, allocations: 84.14 kB / 1.105 GB, free: 182.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.5704, allocations: 83.2 kB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.5705, allocations: 109.9 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.635e-06/0.5705, allocations: 3.656 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 6.352e-05/0.5705, allocations: 29.66 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.5706, allocations: 126.7 kB / 1.106 GB, free: 181.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.583e-05/0.5706, allocations: 93.86 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.336e-06/0.5707, allocations: 25.7 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.851e-05/0.5707, allocations: 87.48 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-06/0.5707, allocations: 0 / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.3e-07/0.5707, allocations: 0 / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.703e-05/0.5708, allocations: 315.4 kB / 1.106 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.135e-06/0.5708, allocations: 0 / 1.106 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.067e-06/0.5708, allocations: 7.938 kB / 1.106 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.325e-05/0.5708, allocations: 75.28 kB / 1.106 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/0.5708, allocations: 77.5 kB / 1.106 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.285e-05/0.5709, allocations: 25.7 kB / 1.107 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.5709, allocations: 87.91 kB / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.571, allocations: 76.28 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.341e-05/0.571, allocations: 157.3 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.253e-05/0.571, allocations: 75.28 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-05/0.5711, allocations: 166.5 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.758e-05/0.5711, allocations: 83.3 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.5712, allocations: 75.28 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 5.998e-05/0.5712, allocations: 267.7 kB / 1.107 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.5713, allocations: 105 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.5713, allocations: 108.1 kB / 1.108 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/0.5714, allocations: 184.2 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.852e-05/0.5714, allocations: 185.4 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.83e-05/0.5714, allocations: 180.2 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.5716, allocations: 405.2 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/0.5716, allocations: 102 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.612e-05/0.5716, allocations: 108.9 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.623e-05/0.5717, allocations: 177 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.5717, allocations: 183.5 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.556e-05/0.5718, allocations: 176.3 kB / 1.109 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.832e-05/0.5718, allocations: 188 kB / 1.109 GB, free: 178 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.08e-05/0.5719, allocations: 308.1 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.5719, allocations: 186 kB / 1.11 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.572, allocations: 183.2 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.572, allocations: 105 kB / 1.11 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.5721, allocations: 191.1 kB / 1.11 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.5721, allocations: 101 kB / 1.11 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.588e-05/0.5722, allocations: 80.97 kB / 1.111 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.35e-07/0.5722, allocations: 0 / 1.111 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003197/0.5725, allocations: 3.188 kB / 1.111 GB, free: 176.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 9.266e-05/0.5726, allocations: 185.6 kB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 3.547e-05/0.5726, allocations: 3.938 kB / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.328e-06/0.5726, allocations: 0 / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.603e-06/0.5727, allocations: 0 / 1.111 GB, free: 176.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.573, allocations: 0.5228 MB / 1.111 GB, free: 176 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001471/0.5731, allocations: 157.9 kB / 1.111 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.5733, allocations: 0.6731 MB / 1.112 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.736e-06/0.5733, allocations: 0 / 1.112 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.248e-05/0.5733, allocations: 9.594 kB / 1.112 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.248e-06/0.5733, allocations: 0 / 1.112 GB, free: 175.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.001942/0.5753, allocations: 152.3 kB / 1.112 GB, free: 175 MB / 0.6823 GB