Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 7.0.1 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.486/2.486, allocations: 251.3 MB / 266.2 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002183/0.002183, allocations: 178.6 kB / 325.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.635/2.635, allocations: 205.4 MB / 0.5767 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008802/0.0008801, allocations: 87.73 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006817/0.000682, allocations: 16.25 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2138, allocations: 106.3 MB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001514/0.2153, allocations: 1.045 MB / 0.9001 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003793/0.2157, allocations: 129.7 kB / 0.9002 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.2158, allocations: 0 / 0.9002 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.144e-05/0.2158, allocations: 3.984 kB / 0.9002 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.24e-05/0.216, allocations: 3.938 kB / 0.9002 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001712/0.2161, allocations: 11.98 kB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.242e-05/0.2162, allocations: 27.92 kB / 0.9002 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.832e-05/0.2163, allocations: 7.984 kB / 0.9002 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.645e-05/0.2164, allocations: 11.98 kB / 0.9003 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.563e-05/0.2165, allocations: 11.92 kB / 0.9003 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.2165, allocations: 0 / 0.9003 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.2165, allocations: 4 kB / 0.9003 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.2166, allocations: 7.984 kB / 0.9003 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.2166, allocations: 25.7 kB / 0.9003 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.625e-05/0.2167, allocations: 11.97 kB / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.2167, allocations: 0 / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2167, allocations: 4 kB / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2167, allocations: 0 / 0.9003 GB, free: 64.07 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.0004636/0.2172, allocations: 341.2 kB / 0.9006 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.2172, allocations: 12.03 kB / 0.9007 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.2173, allocations: 0.9375 kB / 0.9007 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.094e-05/0.2174, allocations: 168.3 kB / 0.9008 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.2174, allocations: 4.375 kB / 0.9008 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.2174, allocations: 4.375 kB / 0.9008 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.2177, allocations: 58.17 kB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2177, allocations: 192 / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.2177, allocations: 3.938 kB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2177, allocations: 4 kB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.2181, allocations: 51.95 kB / 0.9009 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.2184, allocations: 249.2 kB / 0.9012 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.2186, allocations: 54.44 kB / 0.9012 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.2188, allocations: 36.89 kB / 0.9013 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.2188, allocations: 0 / 0.9013 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.2189, allocations: 30.56 kB / 0.9013 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.452e-06/0.2189, allocations: 0 / 0.9013 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0005559/0.2194, allocations: 105.6 kB / 0.9014 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.2195, allocations: 51.41 kB / 0.9014 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.346e-05/0.2196, allocations: 102 kB / 0.9015 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.2196, allocations: 29.7 kB / 0.9016 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.397e-05/0.2196, allocations: 88.08 kB / 0.9017 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.2197, allocations: 3.906 kB / 0.9017 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/0.2197, allocations: 7.938 kB / 0.9017 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.308e-05/0.2198, allocations: 310.8 kB / 0.902 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.2199, allocations: 23.97 kB / 0.902 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.2201, allocations: 27.98 kB / 0.902 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.2202, allocations: 19.98 kB / 0.902 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2202, allocations: 0 / 0.902 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000337/0.2206, allocations: 85.66 kB / 0.9021 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.2206, allocations: 10.02 kB / 0.9021 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2206, allocations: 3.938 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2207, allocations: 0 / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.2208, allocations: 8 kB / 0.9021 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.2208, allocations: 7.984 kB / 0.9021 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.124e-05/0.2209, allocations: 8.031 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.221, allocations: 4 kB / 0.9021 GB, free: 61.98 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 7.088e-05/0.221, allocations: 117.8 kB / 0.9023 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.2211, allocations: 0 / 0.9023 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.2211, allocations: 7.109 kB / 0.9023 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2211, allocations: 0 / 0.9023 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2211, allocations: 4 kB / 0.9023 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2211, allocations: 3.938 kB / 0.9023 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.2213, allocations: 161.6 kB / 0.9024 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2213, allocations: 0 / 0.9024 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.2214, allocations: 11.98 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.2215, allocations: 0 / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.2215, allocations: 0 / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2215, allocations: 0 / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2215, allocations: 8.172 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.2219, allocations: 183.3 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.446e-05/0.2219, allocations: 81.09 kB / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.222, allocations: 4 kB / 0.9027 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.2221, allocations: 16.02 kB / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.2222, allocations: 4 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.2222, allocations: 0 / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.363e-05/0.2222, allocations: 87.27 kB / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2222, allocations: 0 / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002657/0.2225, allocations: 4 kB / 0.9028 GB, free: 61.2 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001126/0.2226, allocations: 96.8 kB / 0.9029 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003468/0.223, allocations: 51.95 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.223, allocations: 0 / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.2232, allocations: 27.92 kB / 0.903 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.2235, allocations: 16 kB / 0.903 GB, free: 61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.2239, allocations: 108.7 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.224, allocations: 0.677 MB / 0.9038 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.572e-05/0.2241, allocations: 4 kB / 0.9038 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.2241, allocations: 7.438 kB / 0.9038 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of SimCode: time 1.052e-06/0.2241, allocations: 7.938 kB / 0.9038 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of Templates: time 0.002987/0.2271, allocations: 0.4906 MB / 0.9043 GB, free: 59.66 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)