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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.493/1.493, allocations: 252 MB / 267 MB, free: 10.98 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.001394/0.001394, allocations: 181.2 kB / 326.6 MB, free: 2.219 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.938/1.938, allocations: 205.4 MB / 0.5777 GB, free: 20.23 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.0008159/0.0008159, allocations: 87.56 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.0003172, allocations: 12.03 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2534, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001716/0.2552, allocations: 1.046 MB / 0.9013 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003428/0.2555, allocations: 128.6 kB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.582e-05/0.2556, allocations: 0 / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/0.2556, allocations: 0 / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.519e-05/0.2557, allocations: 3.938 kB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.2559, allocations: 15.97 kB / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.355e-05/0.2559, allocations: 27.92 kB / 0.9015 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.2561, allocations: 4 kB / 0.9015 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.288e-05/0.2561, allocations: 4 kB / 0.9015 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.14e-05/0.2562, allocations: 15.92 kB / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.2562, allocations: 0 / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.2563, allocations: 0 / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.2563, allocations: 4 kB / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.2563, allocations: 33.62 kB / 0.9016 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.372e-05/0.2564, allocations: 23.95 kB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.2564, allocations: 4 kB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.765e-06/0.2564, allocations: 0 / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.2565, allocations: 0 / 0.9016 GB, free: 62.47 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.0004795/0.2569, allocations: 335.4 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.257, allocations: 11.97 kB / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.464e-05/0.257, allocations: 38.5 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.2571, allocations: 0 / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.2572, allocations: 171.2 kB / 0.9021 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.2572, allocations: 8 kB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.2573, allocations: 0 / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.2575, allocations: 53.67 kB / 0.9022 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2575, allocations: 0 / 0.9022 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.2576, allocations: 0 / 0.9022 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2576, allocations: 3.984 kB / 0.9022 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.2578, allocations: 51.95 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.2582, allocations: 260.8 kB / 0.9025 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.2584, allocations: 46.56 kB / 0.9025 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.2586, allocations: 28.89 kB / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.2586, allocations: 4 kB / 0.9026 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.2586, allocations: 30.56 kB / 0.9026 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.474e-06/0.2587, allocations: 4 kB / 0.9026 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0005491/0.2592, allocations: 101.6 kB / 0.9027 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.2593, allocations: 51.53 kB / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.798e-05/0.2593, allocations: 109.8 kB / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.2594, allocations: 25.7 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.2594, allocations: 84.14 kB / 0.9029 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.2594, allocations: 3.906 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.2594, allocations: 0 / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.271e-05/0.2595, allocations: 314.8 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.2597, allocations: 27.97 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.2598, allocations: 19.98 kB / 0.9033 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.2599, allocations: 23.98 kB / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2599, allocations: 0 / 0.9033 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003098/0.2603, allocations: 85.66 kB / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.2603, allocations: 4 kB / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2603, allocations: 0 / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2603, allocations: 0 / 0.9034 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.2605, allocations: 11.98 kB / 0.9034 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2605, allocations: 4.031 kB / 0.9034 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.736e-05/0.2606, allocations: 15.98 kB / 0.9034 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.2606, allocations: 11.83 kB / 0.9034 GB, free: 60.34 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.726e-05/0.2607, allocations: 113.8 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.2608, allocations: 0 / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.2608, allocations: 3.125 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2608, allocations: 0 / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.2608, allocations: 4 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.2608, allocations: 7.984 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.261, allocations: 157.6 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2611, allocations: 0 / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.2612, allocations: 11.98 kB / 0.9037 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.2612, allocations: 0 / 0.9037 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.2612, allocations: 0 / 0.9037 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2612, allocations: 0 / 0.9037 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2612, allocations: 0 / 0.9037 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.2616, allocations: 187.3 kB / 0.9039 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.352e-05/0.2616, allocations: 81.09 kB / 0.904 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.2616, allocations: 4 kB / 0.904 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.2618, allocations: 8.031 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.092e-05/0.2619, allocations: 11.98 kB / 0.904 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.2619, allocations: 0 / 0.904 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.783e-05/0.2619, allocations: 79.28 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2619, allocations: 0 / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003678/0.2623, allocations: 8 kB / 0.9041 GB, free: 59.58 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.0005941/0.2629, allocations: 0.7124 MB / 0.9048 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003197/0.2633, allocations: 51.98 kB / 0.9048 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.2633, allocations: 0 / 0.9048 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.2634, allocations: 27.98 kB / 0.9049 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.2639, allocations: 5.109 kB / 0.9049 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005896/0.2645, allocations: 150.2 kB / 0.905 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.2647, allocations: 0.6731 MB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.857e-05/0.2647, allocations: 3.984 kB / 0.9057 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.2648, allocations: 15.44 kB / 0.9057 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.2648, allocations: 7.938 kB / 0.9057 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.2796, allocations: 1.173 MB / 0.9068 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/0.2799, allocations: 210.5 kB / 0.907 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/1.833, allocations: 0 / 0.907 GB, free: 56.61 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)