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.44/1.44, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001084/0.001084, allocations: 175.8 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205 MB / 0.5767 GB, free: 20.98 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.0007863/0.0007863, allocations: 87.98 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003146, allocations: 9.406 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2085, allocations: 105.4 MB / 0.8968 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001514/0.2101, allocations: 1.058 MB / 0.8978 GB, free: 67.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003155/0.2104, allocations: 145.2 kB / 0.8979 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.2104, allocations: 0 / 0.8979 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.647e-05/0.2105, allocations: 7.922 kB / 0.8979 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.277e-05/0.2105, allocations: 0 / 0.8979 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.2107, allocations: 8 kB / 0.8979 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.421e-05/0.2108, allocations: 27.91 kB / 0.898 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.698e-05/0.2109, allocations: 4 kB / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.935e-05/0.2109, allocations: 15.92 kB / 0.898 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.006e-05/0.211, allocations: 11.98 kB / 0.898 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.211, allocations: 4 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-06/0.211, allocations: 0 / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.211, allocations: 4 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.2111, allocations: 11.92 kB / 0.898 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.558e-05/0.2112, allocations: 23.89 kB / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2112, allocations: 0 / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2112, allocations: 0 / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.2112, allocations: 0 / 0.898 GB, free: 66.84 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.0004065/0.2116, allocations: 347.7 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.2116, allocations: 8.031 kB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.2117, allocations: 4.938 kB / 0.8984 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.786e-05/0.2118, allocations: 168.3 kB / 0.8985 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.2118, allocations: 4.312 kB / 0.8985 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-06/0.2118, allocations: 384 / 0.8985 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.212, allocations: 66.22 kB / 0.8986 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.212, allocations: 192 / 0.8986 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.212, allocations: 3.938 kB / 0.8986 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.212, allocations: 0 / 0.8986 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.2122, allocations: 43.95 kB / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.2125, allocations: 252.9 kB / 0.8989 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.2126, allocations: 50.47 kB / 0.8989 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.575e-05/0.2127, allocations: 32.91 kB / 0.899 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.2127, allocations: 0 / 0.899 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.2128, allocations: 38.55 kB / 0.899 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.2128, allocations: 0 / 0.899 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003406/0.2131, allocations: 97.64 kB / 0.8991 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.681e-05/0.2131, allocations: 55.41 kB / 0.8992 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.478e-05/0.2132, allocations: 101.8 kB / 0.8993 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.2132, allocations: 29.64 kB / 0.8993 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.714e-05/0.2132, allocations: 88.06 kB / 0.8994 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.2133, allocations: 7.906 kB / 0.8994 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.2133, allocations: 13.84 kB / 0.8994 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.101e-05/0.2134, allocations: 314.8 kB / 0.8997 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.016e-05/0.2134, allocations: 23.98 kB / 0.8997 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.138e-05/0.2135, allocations: 23.97 kB / 0.8997 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.2137, allocations: 52.89 kB / 0.8998 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2137, allocations: 0 / 0.8998 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00018/0.2139, allocations: 85.59 kB / 0.8999 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2139, allocations: 8 kB / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2139, allocations: 3.938 kB / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2139, allocations: 0 / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.345e-05/0.214, allocations: 11.98 kB / 0.8999 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.214, allocations: 0 / 0.8999 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-05/0.2141, allocations: 19.95 kB / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.2141, allocations: 0 / 0.8999 GB, free: 64.7 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.24e-05/0.2142, allocations: 105.8 kB / 0.9 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.2142, allocations: 7.938 kB / 0.9 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/0.2142, allocations: 11.11 kB / 0.9 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2142, allocations: 0 / 0.9 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2143, allocations: 0 / 0.9 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.2143, allocations: 81.02 kB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.2143, allocations: 4 kB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-05/0.2144, allocations: 11.98 kB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.2144, allocations: 8 kB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002304/0.2147, allocations: 172.8 kB / 0.9003 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002006/0.2149, allocations: 254.8 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.525e-05/0.215, allocations: 28.16 kB / 0.9006 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.944e-05/0.215, allocations: 83.27 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of Backend: time 2.71e-07/0.215, allocations: 0 / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003471/0.2154, allocations: 110 kB / 0.9007 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000317/0.2157, allocations: 0.559 MB / 0.9013 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.002168/0.2179, allocations: 0.5847 MB / 0.9019 GB, free: 62.6 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)