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/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001056/0.001056, allocations: 175.9 kB / 326.5 MB, free: 2.676 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.075/2.075, allocations: 205 MB / 0.5766 GB, free: 20.97 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.000981/0.000981, allocations: 90.5 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003326, allocations: 11.97 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2016, allocations: 105.4 MB / 0.8967 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001476/0.2031, allocations: 1.058 MB / 0.8978 GB, free: 67.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003365/0.2035, allocations: 149.2 kB / 0.8979 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.2035, allocations: 0 / 0.8979 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/0.2036, allocations: 3.938 kB / 0.8979 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.534e-05/0.2037, allocations: 0 / 0.8979 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.2038, allocations: 15.97 kB / 0.8979 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.749e-05/0.2039, allocations: 23.94 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.996e-05/0.204, allocations: 3.984 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.807e-05/0.2041, allocations: 7.938 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.54e-05/0.2041, allocations: 11.98 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.2042, allocations: 8 kB / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.2042, allocations: 0 / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.2042, allocations: 0 / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.2042, allocations: 19.91 kB / 0.898 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.063e-05/0.2043, allocations: 11.97 kB / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2043, allocations: 0 / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2043, allocations: 0 / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2043, allocations: 0 / 0.898 GB, free: 66.82 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.0004041/0.2047, allocations: 347.7 kB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2048, allocations: 8.031 kB / 0.8984 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.2048, allocations: 8.875 kB / 0.8984 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.942e-05/0.2049, allocations: 168.2 kB / 0.8985 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.205, allocations: 4.359 kB / 0.8985 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.205, allocations: 384 / 0.8985 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.2052, allocations: 62.17 kB / 0.8986 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2052, allocations: 4.188 kB / 0.8986 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.2052, allocations: 3.938 kB / 0.8986 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2053, allocations: 0 / 0.8986 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.2054, allocations: 47.95 kB / 0.8986 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.2058, allocations: 253 kB / 0.8989 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.2059, allocations: 46.44 kB / 0.8989 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.918e-05/0.206, allocations: 32.89 kB / 0.899 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.206, allocations: 4 kB / 0.899 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.2061, allocations: 34.56 kB / 0.899 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.2061, allocations: 0 / 0.899 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003555/0.2064, allocations: 97.73 kB / 0.8991 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.2065, allocations: 59.34 kB / 0.8992 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.235e-05/0.2065, allocations: 105.8 kB / 0.8993 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.2065, allocations: 25.7 kB / 0.8993 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.57e-05/0.2066, allocations: 80.14 kB / 0.8994 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.2066, allocations: 11.91 kB / 0.8994 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.2066, allocations: 9.719 kB / 0.8994 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.515e-05/0.2067, allocations: 314.9 kB / 0.8997 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.743e-05/0.2068, allocations: 31.97 kB / 0.8997 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-05/0.2069, allocations: 15.98 kB / 0.8997 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.207, allocations: 56.89 kB / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.207, allocations: 3.984 kB / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001906/0.2072, allocations: 81.55 kB / 0.8999 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.2072, allocations: 11.98 kB / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2073, allocations: 4 kB / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.2073, allocations: 0 / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.2074, allocations: 8 kB / 0.8999 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.2074, allocations: 3.984 kB / 0.8999 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.452e-05/0.2075, allocations: 15.97 kB / 0.8999 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.2075, allocations: 0 / 0.8999 GB, free: 64.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.614e-05/0.2075, allocations: 113.8 kB / 0.9 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.2076, allocations: 7.984 kB / 0.9 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.944e-05/0.2076, allocations: 3.125 kB / 0.9 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2076, allocations: 0 / 0.9 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2076, allocations: 0 / 0.9 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2076, allocations: 3.938 kB / 0.9 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.2077, allocations: 161.5 kB / 0.9002 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2077, allocations: 7.938 kB / 0.9002 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.967e-05/0.2078, allocations: 15.98 kB / 0.9002 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.2078, allocations: 0 / 0.9002 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2078, allocations: 0 / 0.9002 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2078, allocations: 3.984 kB / 0.9002 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2078, allocations: 0 / 0.9002 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.2081, allocations: 183.4 kB / 0.9004 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.2081, allocations: 77.11 kB / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.2081, allocations: 0 / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.2082, allocations: 15.98 kB / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.2083, allocations: 0 / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.2083, allocations: 8.031 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.365e-05/0.2083, allocations: 83.27 kB / 0.9006 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2083, allocations: 4 kB / 0.9006 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002016/0.2085, allocations: 0 / 0.9006 GB, free: 63.9 MB / 0.6042 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 9.635e-05/0.2086, allocations: 99.25 kB / 0.9007 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.2088, allocations: 51.95 kB / 0.9007 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2088, allocations: 0 / 0.9007 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.876e-05/0.2089, allocations: 27.92 kB / 0.9007 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.2092, allocations: 10.98 kB / 0.9007 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.2096, allocations: 141.1 kB / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.2097, allocations: 0.6731 MB / 0.9015 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.2097, allocations: 11.42 kB / 0.9015 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of SimCode: time 1.483e-06/0.2098, allocations: 0 / 0.9015 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.001884/0.2116, allocations: 0.6017 MB / 0.9021 GB, free: 62.23 MB / 0.6042 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)