Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01073/0.01073, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001965/0.001965, allocations: 192.2 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.543/1.543, allocations: 251.7 MB / 0.5094 GB, free: 416 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001485, allocations: 71.89 kB / 0.7258 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8114/0.8129, allocations: 104.7 MB / 0.828 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002761/0.8158, allocations: 1.33 MB / 0.8293 GB, free: 1.297 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0003872/0.8162, allocations: 148.4 kB / 0.8295 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.204e-05/0.8162, allocations: 0 / 0.8295 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.052e-05/0.8163, allocations: 3.938 kB / 0.8295 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.199e-05/0.8163, allocations: 4 kB / 0.8295 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.8165, allocations: 15.92 kB / 0.8295 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.423e-05/0.8166, allocations: 31.91 kB / 0.8295 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.8167, allocations: 4 kB / 0.8295 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 6.727e-05/0.8168, allocations: 15.92 kB / 0.8295 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 5.926e-05/0.8169, allocations: 15.92 kB / 0.8295 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.8169, allocations: 3.938 kB / 0.8295 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-06/0.8169, allocations: 8 kB / 0.8296 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.8169, allocations: 0 / 0.8296 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.817, allocations: 15.92 kB / 0.8296 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 9.466e-05/0.8171, allocations: 19.95 kB / 0.8296 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.8171, allocations: 4 kB / 0.8296 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8171, allocations: 0 / 0.8296 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.994e-06/0.8171, allocations: 0 / 0.8296 GB, free: 1.008 MB / 0.6231 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.0005138/0.8176, allocations: 335.1 kB / 0.8299 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.8177, allocations: 12.03 kB / 0.8299 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.8177, allocations: 8.781 kB / 0.8299 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.8179, allocations: 172.4 kB / 0.8301 GB, free: 416 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.8179, allocations: 384 / 0.8301 GB, free: 416 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.8179, allocations: 384 / 0.8301 GB, free: 416 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.8181, allocations: 54.17 kB / 0.8301 GB, free: 356 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.8181, allocations: 192 / 0.8302 GB, free: 356 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.8182, allocations: 3.938 kB / 0.8302 GB, free: 352 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.8182, allocations: 4 kB / 0.8302 GB, free: 348 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.8184, allocations: 39.95 kB / 0.8302 GB, free: 308 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.8187, allocations: 249 kB / 0.8304 GB, free: 8 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.8189, allocations: 38.55 kB / 0.8305 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.819, allocations: 24.84 kB / 0.8305 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.8191, allocations: 7.938 kB / 0.8305 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.8191, allocations: 34.56 kB / 0.8305 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8191, allocations: 0 / 0.8305 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0003747/0.8195, allocations: 81.64 kB / 0.8306 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.8195, allocations: 55.41 kB / 0.8307 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.106e-05/0.8196, allocations: 102 kB / 0.8308 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.8197, allocations: 29.7 kB / 0.8308 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.334e-05/0.8197, allocations: 84.05 kB / 0.8309 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.8197, allocations: 0 / 0.8309 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.8198, allocations: 13.72 kB / 0.8309 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.8199, allocations: 318.8 kB / 0.8312 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.138e-05/0.82, allocations: 19.92 kB / 0.8312 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.08e-05/0.8201, allocations: 22.17 kB / 0.8312 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.8203, allocations: 40.81 kB / 0.8313 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8203, allocations: 0 / 0.8313 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002025/0.8205, allocations: 73.78 kB / 0.8313 GB, free: 15 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.8205, allocations: 8 kB / 0.8313 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.8205, allocations: 96 / 0.8313 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.8205, allocations: 4 kB / 0.8313 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.8207, allocations: 15.97 kB / 0.8314 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.8207, allocations: 3.938 kB / 0.8314 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.434e-05/0.8207, allocations: 7.906 kB / 0.8314 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.8208, allocations: 3.984 kB / 0.8314 GB, free: 14.96 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.491e-05/0.8208, allocations: 117 kB / 0.8315 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.8209, allocations: 7.938 kB / 0.8315 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.558e-05/0.8209, allocations: 15.08 kB / 0.8315 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.8209, allocations: 0 / 0.8315 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.8209, allocations: 4 kB / 0.8315 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.8209, allocations: 0 / 0.8315 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.8211, allocations: 165.6 kB / 0.8317 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8211, allocations: 0 / 0.8317 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.018e-05/0.8212, allocations: 11.98 kB / 0.8317 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8212, allocations: 0 / 0.8317 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.8212, allocations: 0 / 0.8317 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.8212, allocations: 0 / 0.8317 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8212, allocations: 0 / 0.8317 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.8215, allocations: 171.5 kB / 0.8318 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.8216, allocations: 77.11 kB / 0.8319 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.8216, allocations: 0 / 0.8319 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.429e-05/0.8217, allocations: 7.984 kB / 0.8319 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.8217, allocations: 15.92 kB / 0.8319 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.8218, allocations: 4.031 kB / 0.8319 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.366e-05/0.8218, allocations: 79.28 kB / 0.832 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8218, allocations: 0 / 0.832 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002142/0.822, allocations: 4 kB / 0.832 GB, free: 14.2 MB / 0.6387 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 (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.0001275/0.8222, allocations: 99.25 kB / 0.8321 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.8224, allocations: 39.95 kB / 0.8322 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8224, allocations: 4.062 kB / 0.8322 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.8225, allocations: 23.97 kB / 0.8322 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.8229, allocations: 7.938 kB / 0.8322 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.8232, allocations: 105.5 kB / 0.8323 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.8236, allocations: 0.6805 MB / 0.833 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.385e-05/0.8236, allocations: 8.062 kB / 0.833 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.8236, allocations: 7.438 kB / 0.833 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.8236, allocations: 4 kB / 0.833 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of Templates: time 0.002921/0.8266, allocations: 0.5943 MB / 0.8336 GB, free: 12.57 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)