Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.0009296/0.0009294, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001033/0.001033, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.595/1.595, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.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.0005084/0.0005085, allocations: 16.94 kB / 0.6736 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2472, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0008348/0.2481, allocations: 355.9 kB / 0.7875 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.2492, allocations: 0.8143 MB / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.2492, allocations: 0 / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.2492, allocations: 4 kB / 0.7883 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.685e-05/0.2493, allocations: 3.984 kB / 0.7883 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.2495, allocations: 12 kB / 0.7883 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.314e-05/0.2495, allocations: 15.97 kB / 0.7883 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.129e-05/0.2496, allocations: 4 kB / 0.7883 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.221e-05/0.2497, allocations: 11.92 kB / 0.7883 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.77e-05/0.2498, allocations: 11.98 kB / 0.7883 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.2498, allocations: 4 kB / 0.7883 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.2498, allocations: 0 / 0.7883 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.2498, allocations: 3.938 kB / 0.7883 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.2499, allocations: 29.7 kB / 0.7884 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.397e-05/0.2499, allocations: 15.95 kB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.2499, allocations: 8 kB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2499, allocations: 0 / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.2499, allocations: 0 / 0.7884 GB, free: 10.67 MB / 0.6075 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.0004386/0.2504, allocations: 339.5 kB / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.2504, allocations: 8.031 kB / 0.7887 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.2505, allocations: 0 / 0.7887 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.2506, allocations: 171 kB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.2506, allocations: 8 kB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.2507, allocations: 0 / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.2509, allocations: 57.61 kB / 0.7889 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.2509, allocations: 4 kB / 0.7889 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.2509, allocations: 3.938 kB / 0.7889 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2509, allocations: 0 / 0.7889 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.2511, allocations: 47.95 kB / 0.789 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.2514, allocations: 248.9 kB / 0.7892 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.2516, allocations: 50.56 kB / 0.7893 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.2516, allocations: 0 / 0.7893 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.2516, allocations: 38.48 kB / 0.7893 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.2516, allocations: 0 / 0.7893 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003729/0.252, allocations: 101.7 kB / 0.7894 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.2521, allocations: 51.41 kB / 0.7895 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.614e-05/0.2522, allocations: 105.8 kB / 0.7896 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.2522, allocations: 25.7 kB / 0.7896 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.2522, allocations: 84.12 kB / 0.7897 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.2523, allocations: 4.125 kB / 0.7897 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.2523, allocations: 0 / 0.7897 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2524, allocations: 326.7 kB / 0.79 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.547e-05/0.2525, allocations: 15.98 kB / 0.79 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.206e-05/0.2526, allocations: 31.97 kB / 0.79 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.609e-05/0.2527, allocations: 23.92 kB / 0.79 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2527, allocations: 0 / 0.79 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002217/0.2529, allocations: 85.62 kB / 0.7901 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2529, allocations: 4 kB / 0.7901 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.253, allocations: 4 kB / 0.7901 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.253, allocations: 0 / 0.7901 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.316e-05/0.2531, allocations: 11.98 kB / 0.7901 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2531, allocations: 0 / 0.7901 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.542e-05/0.2532, allocations: 11.98 kB / 0.7902 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.2532, allocations: 8.031 kB / 0.7902 GB, free: 8.621 MB / 0.6075 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.95e-05/0.2532, allocations: 109.8 kB / 0.7903 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.2533, allocations: 4.188 kB / 0.7903 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.226e-05/0.2533, allocations: 7.125 kB / 0.7903 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2533, allocations: 3.984 kB / 0.7903 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2533, allocations: 0 / 0.7903 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2533, allocations: 0 / 0.7903 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.2535, allocations: 165.5 kB / 0.7904 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2535, allocations: 0 / 0.7904 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.081e-05/0.2536, allocations: 19.92 kB / 0.7905 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.2536, allocations: 4 kB / 0.7905 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.2536, allocations: 0 / 0.7905 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2536, allocations: 0 / 0.7905 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2536, allocations: 0 / 0.7905 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.2539, allocations: 179.5 kB / 0.7906 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.254, allocations: 77.11 kB / 0.7907 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.254, allocations: 3.984 kB / 0.7907 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.949e-05/0.2541, allocations: 8 kB / 0.7907 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.2542, allocations: 7.984 kB / 0.7907 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.2542, allocations: 0 / 0.7907 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.342e-05/0.2542, allocations: 87.31 kB / 0.7908 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2542, allocations: 0 / 0.7908 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002108/0.2544, allocations: 4 kB / 0.7908 GB, free: 7.855 MB / 0.6075 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.000113/0.2546, allocations: 107.2 kB / 0.7909 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.2548, allocations: 55.91 kB / 0.791 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2548, allocations: 0 / 0.791 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.396e-05/0.2549, allocations: 27.97 kB / 0.791 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.2551, allocations: 4 kB / 0.791 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.2554, allocations: 120.9 kB / 0.7911 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.2557, allocations: 0.677 MB / 0.7918 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.033e-05/0.2557, allocations: 4 kB / 0.7918 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.2557, allocations: 7.438 kB / 0.7918 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of SimCode: time 2.014e-06/0.2557, allocations: 0 / 0.7918 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of Templates: time 0.002532/0.2583, allocations: 0.4918 MB / 0.7923 GB, free: 6.309 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) Environment - environmentSimulation: