Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.623/1.623, allocations: 288.4 MB / 303.3 MB, free: 8.035 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009728/0.0009727, allocations: 182.8 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008555/0.0008555, allocations: 94.3 kB / 0.744 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.0004449, allocations: 11.62 kB / 0.867 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2619, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0008135/0.2628, allocations: 350.1 kB / 0.98 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009757/0.2638, allocations: 0.8127 MB / 0.9808 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.2639, allocations: 0 / 0.9808 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.2639, allocations: 0 / 0.9808 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.722e-05/0.264, allocations: 3.938 kB / 0.9808 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.2641, allocations: 15.98 kB / 0.9808 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.005e-05/0.2642, allocations: 19.94 kB / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.2643, allocations: 11.98 kB / 0.9808 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.204e-05/0.2644, allocations: 11.92 kB / 0.9808 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.2645, allocations: 15.92 kB / 0.9809 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.2645, allocations: 0 / 0.9809 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.2645, allocations: 0 / 0.9809 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.2645, allocations: 4 kB / 0.9809 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.2646, allocations: 25.7 kB / 0.9809 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.476e-05/0.2646, allocations: 19.95 kB / 0.9809 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2646, allocations: 4 kB / 0.9809 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2646, allocations: 0 / 0.9809 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.2647, allocations: 0 / 0.9809 GB, free: 26.26 MB / 0.6198 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.0004435/0.2651, allocations: 339.5 kB / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.2652, allocations: 12.02 kB / 0.9812 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.19e-05/0.2652, allocations: 34.56 kB / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.2652, allocations: 0 / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.2654, allocations: 167 kB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.2654, allocations: 8 kB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.2654, allocations: 4 kB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.2656, allocations: 57.66 kB / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2656, allocations: 0 / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2657, allocations: 0 / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.2657, allocations: 0 / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.2659, allocations: 51.91 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.2662, allocations: 256.8 kB / 0.9818 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.2664, allocations: 54.55 kB / 0.9818 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.633e-05/0.2665, allocations: 20.91 kB / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.2665, allocations: 4 kB / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.2665, allocations: 34.56 kB / 0.9819 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.946e-06/0.2666, allocations: 4 kB / 0.9819 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004064/0.267, allocations: 109.5 kB / 0.982 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.267, allocations: 51.53 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.711e-05/0.2671, allocations: 101.8 kB / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.2671, allocations: 25.7 kB / 0.9822 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/0.2672, allocations: 88.12 kB / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.2672, allocations: 4 kB / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.2672, allocations: 0 / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.292e-05/0.2673, allocations: 314.8 kB / 0.9826 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.745e-05/0.2674, allocations: 31.92 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.14e-05/0.2675, allocations: 23.97 kB / 0.9826 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.302e-05/0.2676, allocations: 19.98 kB / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2676, allocations: 0 / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002388/0.2678, allocations: 89.62 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2679, allocations: 7.938 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2679, allocations: 0 / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.2679, allocations: 0 / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.268, allocations: 11.98 kB / 0.9827 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.268, allocations: 4.031 kB / 0.9828 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.857e-05/0.2681, allocations: 11.98 kB / 0.9828 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.2681, allocations: 3.984 kB / 0.9828 GB, free: 24.12 MB / 0.6198 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.146e-05/0.2682, allocations: 113.8 kB / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.2682, allocations: 0 / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.2682, allocations: 7.125 kB / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2682, allocations: 0 / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.2683, allocations: 8 kB / 0.9829 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.2683, allocations: 0 / 0.9829 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.2684, allocations: 165.6 kB / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2684, allocations: 0 / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.267e-05/0.2685, allocations: 11.98 kB / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2685, allocations: 0 / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.2685, allocations: 0 / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2685, allocations: 0 / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2685, allocations: 0 / 0.9831 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.2688, allocations: 183.4 kB / 0.9832 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.2688, allocations: 84.95 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.2688, allocations: 3.938 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.016e-05/0.2689, allocations: 16.02 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.269, allocations: 11.98 kB / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.269, allocations: 0 / 0.9833 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.787e-05/0.269, allocations: 79.28 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.01e-07/0.269, allocations: 0 / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000196/0.2692, allocations: 4 kB / 0.9834 GB, free: 23.36 MB / 0.6198 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.0004364/0.2697, allocations: 0.7085 MB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002348/0.2699, allocations: 55.94 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2699, allocations: 3.938 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.393e-05/0.27, allocations: 23.97 kB / 0.9842 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.2703, allocations: 12.12 kB / 0.9842 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.2708, allocations: 130.4 kB / 0.9843 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.2709, allocations: 0.6809 MB / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.689e-05/0.271, allocations: 0 / 0.985 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.271, allocations: 11.42 kB / 0.985 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/0.271, allocations: 8 kB / 0.985 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01209/0.2831, allocations: 1.164 MB / 0.9862 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/0.2833, allocations: 222.1 kB / 0.9864 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.085, allocations: 0 / 0.9864 GB, free: 20.39 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)