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 5.013/5.013, allocations: 0.5623 GB / 0.5776 GB, free: 66.95 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002642/0.002642, allocations: 357.2 kB / 0.6446 GB, free: 21.56 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.398/4.398, allocations: 410.7 MB / 1.113 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.003298/0.003298, allocations: 195.9 kB / 1.226 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005953/0.0005956, allocations: 11.59 kB / 1.349 GB, free: 322 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2222, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0009142/0.2232, allocations: 357.3 kB / 1.462 GB, free: 220.3 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.2243, allocations: 0.8127 MB / 1.462 GB, free: 219.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.412e-05/0.2244, allocations: 0 / 1.462 GB, free: 219.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.2244, allocations: 0 / 1.462 GB, free: 219.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.869e-05/0.2245, allocations: 3.938 kB / 1.462 GB, free: 219.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.2247, allocations: 11.98 kB / 1.462 GB, free: 219.5 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.845e-05/0.2248, allocations: 15.94 kB / 1.463 GB, free: 219.5 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.908e-05/0.2249, allocations: 11.98 kB / 1.463 GB, free: 219.5 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.762e-05/0.225, allocations: 4.75 kB / 1.463 GB, free: 219.5 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.87e-05/0.225, allocations: 19.91 kB / 1.463 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.2251, allocations: 0.5312 kB / 1.463 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.247e-05/0.2251, allocations: 1.281 kB / 1.463 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.2251, allocations: 4 kB / 1.463 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.2251, allocations: 25.7 kB / 1.463 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 6.145e-05/0.2252, allocations: 20.7 kB / 1.463 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.2252, allocations: 0 / 1.463 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2252, allocations: 0 / 1.463 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2253, allocations: 0.5625 kB / 1.463 GB, free: 219.4 MB / 0.8073 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.0005113/0.2258, allocations: 341.6 kB / 1.463 GB, free: 219 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.2258, allocations: 12.47 kB / 1.463 GB, free: 219 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.2259, allocations: 6.781 kB / 1.463 GB, free: 219 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.711e-05/0.226, allocations: 163 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.226, allocations: 7.922 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.2261, allocations: 8 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.2263, allocations: 62.12 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.2263, allocations: 0 / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2264, allocations: 1.5 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2264, allocations: 0 / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003012/0.2267, allocations: 45.55 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.2271, allocations: 254.4 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.2273, allocations: 53.28 kB / 1.464 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.2275, allocations: 29.47 kB / 1.464 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.2275, allocations: 0.9062 kB / 1.464 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.2275, allocations: 39.44 kB / 1.464 GB, free: 218.2 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.2275, allocations: 0 / 1.464 GB, free: 218.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0005682/0.2281, allocations: 101.8 kB / 1.464 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.2282, allocations: 63.34 kB / 1.464 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.659e-05/0.2282, allocations: 97.77 kB / 1.464 GB, free: 218 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.2283, allocations: 27.27 kB / 1.464 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.2283, allocations: 88.12 kB / 1.464 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.2283, allocations: 3.984 kB / 1.464 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.2283, allocations: 0.5938 kB / 1.464 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.213e-05/0.2284, allocations: 320 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.2286, allocations: 21.36 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.2287, allocations: 24.84 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.2289, allocations: 25.61 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2289, allocations: 0 / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003366/0.2293, allocations: 81.38 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.2293, allocations: 8 kB / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.2293, allocations: 0 / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.2293, allocations: 0 / 1.464 GB, free: 217.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.2295, allocations: 16.48 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2295, allocations: 4.625 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.545e-05/0.2296, allocations: 12.64 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.2297, allocations: 0.8125 kB / 1.464 GB, free: 217.3 MB / 0.8073 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 7.388e-05/0.2297, allocations: 110.4 kB / 1.465 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.2298, allocations: 5.25 kB / 1.465 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.2298, allocations: 7.125 kB / 1.465 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2298, allocations: 0 / 1.465 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2298, allocations: 1.281 kB / 1.465 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.2299, allocations: 81.05 kB / 1.465 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.2299, allocations: 3.984 kB / 1.465 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.23, allocations: 14.7 kB / 1.465 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.017e-05/0.2301, allocations: 7.984 kB / 1.465 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004256/0.2306, allocations: 165.6 kB / 1.465 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003776/0.2309, allocations: 252.2 kB / 1.465 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001647/0.2311, allocations: 25.2 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.258e-05/0.2312, allocations: 87.44 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of Backend: time 7.01e-07/0.2312, allocations: 1.344 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005139/0.2317, allocations: 101.1 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of SimCode: time 0.00044/0.2322, allocations: 0.5653 MB / 1.466 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of Templates: time 0.003407/0.2356, allocations: 0.5768 MB / 1.466 GB, free: 215.3 MB / 0.8073 GB