Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.278/2.278, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002393/0.002393, allocations: 166.1 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.647/2.647, allocations: 205.4 MB / 0.5772 GB, free: 21.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009454/0.0009449, allocations: 98.22 kB / 0.6817 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.00174, allocations: 16.66 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2118, allocations: 106.3 MB / 0.8995 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001584/0.2134, allocations: 1.046 MB / 0.9005 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003563/0.2138, allocations: 133.5 kB / 0.9007 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.2139, allocations: 0 / 0.9007 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.452e-05/0.2139, allocations: 0 / 0.9007 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.165e-05/0.214, allocations: 7.922 kB / 0.9007 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.2141, allocations: 15.98 kB / 0.9007 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.258e-05/0.2142, allocations: 23.92 kB / 0.9007 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.048e-05/0.2143, allocations: 4 kB / 0.9007 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.2143, allocations: 7.984 kB / 0.9007 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/0.2144, allocations: 11.94 kB / 0.9007 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.2144, allocations: 3.984 kB / 0.9007 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.2145, allocations: 4 kB / 0.9007 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.2145, allocations: 3.984 kB / 0.9007 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.2145, allocations: 29.7 kB / 0.9008 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.446e-05/0.2146, allocations: 19.91 kB / 0.9008 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2146, allocations: 0 / 0.9008 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2146, allocations: 0 / 0.9008 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.2146, allocations: 0 / 0.9008 GB, free: 64.68 MB / 0.6042 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.0004693/0.2151, allocations: 343.4 kB / 0.9011 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2151, allocations: 8.031 kB / 0.9011 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.2152, allocations: 0.9375 kB / 0.9011 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.413e-05/0.2153, allocations: 172.4 kB / 0.9013 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.2153, allocations: 4.375 kB / 0.9013 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.2153, allocations: 384 / 0.9013 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.2156, allocations: 62.11 kB / 0.9013 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2156, allocations: 4.125 kB / 0.9013 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.2156, allocations: 3.938 kB / 0.9014 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2156, allocations: 0 / 0.9014 GB, free: 64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.2159, allocations: 51.95 kB / 0.9014 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.2163, allocations: 252.9 kB / 0.9016 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.2165, allocations: 54.44 kB / 0.9017 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.2166, allocations: 32.89 kB / 0.9017 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.2167, allocations: 0 / 0.9017 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.2167, allocations: 30.56 kB / 0.9018 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.2167, allocations: 4 kB / 0.9018 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0005464/0.2173, allocations: 97.64 kB / 0.9019 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.2173, allocations: 59.53 kB / 0.9019 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.879e-05/0.2174, allocations: 101.8 kB / 0.902 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.2174, allocations: 29.64 kB / 0.902 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.2174, allocations: 84.14 kB / 0.9021 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.2175, allocations: 7.844 kB / 0.9021 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.2175, allocations: 0 / 0.9021 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.234e-05/0.2175, allocations: 314.8 kB / 0.9024 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.2177, allocations: 27.97 kB / 0.9024 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.2178, allocations: 19.98 kB / 0.9025 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.218, allocations: 19.98 kB / 0.9025 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.218, allocations: 0 / 0.9025 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003309/0.2184, allocations: 89.66 kB / 0.9026 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2184, allocations: 4 kB / 0.9026 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2184, allocations: 0 / 0.9026 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2184, allocations: 0 / 0.9026 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.2186, allocations: 16.02 kB / 0.9026 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2186, allocations: 0 / 0.9026 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.203e-05/0.2187, allocations: 11.98 kB / 0.9026 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.2187, allocations: 0 / 0.9026 GB, free: 62.59 MB / 0.6042 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.217e-05/0.2188, allocations: 113.8 kB / 0.9027 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.2188, allocations: 7.938 kB / 0.9027 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.949e-05/0.2189, allocations: 7.125 kB / 0.9027 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2189, allocations: 3.984 kB / 0.9027 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2189, allocations: 4 kB / 0.9027 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.2189, allocations: 85.05 kB / 0.9028 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.219, allocations: 0 / 0.9028 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.2191, allocations: 4 kB / 0.9028 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.2192, allocations: 11.98 kB / 0.9028 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004218/0.2196, allocations: 168.9 kB / 0.903 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003712/0.22, allocations: 254.9 kB / 0.9032 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001643/0.2202, allocations: 31.97 kB / 0.9033 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.702e-05/0.2202, allocations: 83.2 kB / 0.9033 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of Backend: time 7.21e-07/0.2202, allocations: 0 / 0.9033 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004976/0.2207, allocations: 106.4 kB / 0.9034 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004589/0.2212, allocations: 0.5604 MB / 0.904 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of Templates: time 0.004178/0.2254, allocations: 0.5646 MB / 0.9045 GB, free: 60.5 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)