Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.864/4.864, allocations: 0.5623 GB / 0.5769 GB, free: 3.367 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002398/0.002398, allocations: 356.6 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.085/4.085, allocations: 410.7 MB / 1.112 GB, free: 5.938 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001782/0.001782, allocations: 181.5 kB / 1.225 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004894/0.0004896, allocations: 12 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7384/0.7389, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0006769/0.7397, allocations: 348.8 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008362/0.7405, allocations: 0.8119 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.7406, allocations: 0 / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.7406, allocations: 1.812 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.123e-05/0.7407, allocations: 7.984 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001096/0.7408, allocations: 7.938 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.572e-05/0.7408, allocations: 31.91 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.335e-05/0.7409, allocations: 1.188 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.041e-05/0.741, allocations: 15.92 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.741, allocations: 9.078 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.7411, allocations: 4 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.396e-06/0.7411, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.7411, allocations: 6.25 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.7411, allocations: 29.64 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 4.896e-05/0.7412, allocations: 15.95 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.646e-06/0.7412, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.433e-06/0.7412, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.641e-06/0.7412, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000365/0.7416, allocations: 344.6 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.7417, allocations: 11.62 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.913e-05/0.7417, allocations: 3.906 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.9e-05/0.7418, allocations: 171 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.7418, allocations: 0 / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.7418, allocations: 0.7188 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.742, allocations: 58.38 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.7421, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.7421, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.718e-06/0.7421, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.7423, allocations: 56.64 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.7426, allocations: 250.3 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.7428, allocations: 45.44 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.7429, allocations: 38.61 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.743, allocations: 0.5 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.339e-05/0.743, allocations: 31.06 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.984e-06/0.743, allocations: 6.062 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0004121/0.7434, allocations: 99.95 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.7434, allocations: 51.41 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.423e-05/0.7435, allocations: 102.8 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.7435, allocations: 25.7 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.722e-05/0.7436, allocations: 93.08 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.7436, allocations: 7.906 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.7436, allocations: 1.312 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.055e-05/0.7437, allocations: 314.8 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.7438, allocations: 29.06 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.404e-05/0.7439, allocations: 21.64 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.744, allocations: 22.05 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.31e-06/0.744, allocations: 3.938 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002482/0.7443, allocations: 79.88 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.7443, allocations: 4.531 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.639e-06/0.7443, allocations: 5.609 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.7444, allocations: 0.8438 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.7445, allocations: 12 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.413e-06/0.7445, allocations: 0.6875 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.853e-05/0.7446, allocations: 10.73 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.987e-06/0.7446, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.025e-05/0.7447, allocations: 117.8 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.7447, allocations: 3.906 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.934e-05/0.7448, allocations: 7.109 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.946e-06/0.7448, allocations: 6.562 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.004e-06/0.7448, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.839e-06/0.7448, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.7449, allocations: 157.6 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.745, allocations: 1.078 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.084e-05/0.7451, allocations: 11.98 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.582e-06/0.7451, allocations: 5.594 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.579e-06/0.7451, allocations: 4 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.7451, allocations: 4 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.837e-06/0.7451, allocations: 3.938 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.7454, allocations: 174.9 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.7454, allocations: 81.77 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.7455, allocations: 4 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.7456, allocations: 8.859 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.7456, allocations: 4.5 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.7457, allocations: 0.7812 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.08e-05/0.7457, allocations: 88.72 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.52e-07/0.7457, allocations: 1.25 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002921/0.746, allocations: 4 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.201e-05/0.7461, allocations: 97.56 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002534/0.7464, allocations: 53.08 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.808e-06/0.7464, allocations: 1.156 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.7465, allocations: 30.73 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.7469, allocations: 7.891 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.7472, allocations: 108.6 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.7473, allocations: 0.6861 MB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.588e-05/0.7474, allocations: 0.7188 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.304e-05/0.7474, allocations: 11.44 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.924e-06/0.7474, allocations: 1.375 kB / 1.465 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.002764/0.7502, allocations: 0.499 MB / 1.466 GB, free: 278.8 MB / 0.8542 GB