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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 188 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.733/1.733, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.00267/0.002671, allocations: 68.17 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2393, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002465/0.2418, allocations: 0.6308 MB / 0.7843 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.2429, allocations: 0.8243 MB / 0.7851 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.2429, allocations: 4 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.243, allocations: 0 / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.796e-05/0.2431, allocations: 3.938 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.2432, allocations: 19.98 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.738e-05/0.2433, allocations: 27.86 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.438e-05/0.2434, allocations: 4 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.058e-05/0.2435, allocations: 11.98 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.091e-05/0.2435, allocations: 15.92 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.2436, allocations: 8 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-06/0.2436, allocations: 0 / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.2436, allocations: 7.984 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.2436, allocations: 7.938 kB / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.581e-05/0.2437, allocations: 19.95 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2437, allocations: 0 / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.458e-06/0.2437, allocations: 4 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2437, allocations: 3.938 kB / 0.7852 GB, free: 11.64 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.0004359/0.2442, allocations: 339.7 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.2442, allocations: 12.03 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.61e-05/0.2443, allocations: 38.75 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.2443, allocations: 0.9375 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.2444, allocations: 164.3 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.2444, allocations: 4.359 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.2445, allocations: 4.375 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.2446, allocations: 54.22 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.2446, allocations: 3.938 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.2447, allocations: 0 / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2447, allocations: 4 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.2448, allocations: 31.97 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.2452, allocations: 252.9 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.2453, allocations: 50.42 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.134e-05/0.2454, allocations: 24.91 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.2455, allocations: 3.938 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.2455, allocations: 34.56 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.2455, allocations: 0 / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003729/0.2459, allocations: 89.56 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.2459, allocations: 55.53 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.885e-05/0.246, allocations: 97.86 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.246, allocations: 29.7 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.2461, allocations: 80.14 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.2461, allocations: 7.891 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.2462, allocations: 17.72 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2463, allocations: 310.8 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.321e-05/0.2464, allocations: 15.98 kB / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.131e-05/0.2465, allocations: 23.97 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.2466, allocations: 36.83 kB / 0.7869 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.2466, allocations: 3.938 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002002/0.2468, allocations: 73.59 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.2469, allocations: 8.094 kB / 0.787 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2469, allocations: 0 / 0.787 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.2469, allocations: 0 / 0.787 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.247, allocations: 11.98 kB / 0.787 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.247, allocations: 3.938 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.397e-05/0.2471, allocations: 7.984 kB / 0.787 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.2471, allocations: 0 / 0.787 GB, free: 9.547 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.102e-05/0.2472, allocations: 117.8 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.2472, allocations: 4 kB / 0.7871 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.2472, allocations: 7.109 kB / 0.7871 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2473, allocations: 0 / 0.7871 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.2473, allocations: 8 kB / 0.7871 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2473, allocations: 0 / 0.7871 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.2474, allocations: 157.6 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2474, allocations: 0 / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.428e-05/0.2475, allocations: 7.984 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2475, allocations: 4 kB / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.2475, allocations: 0 / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2475, allocations: 4 kB / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2475, allocations: 0 / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.2478, allocations: 175.3 kB / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.03e-05/0.2478, allocations: 81.05 kB / 0.7875 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.2478, allocations: 4 kB / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.2479, allocations: 4.188 kB / 0.7876 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.248, allocations: 12.02 kB / 0.7876 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.248, allocations: 3.984 kB / 0.7876 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.165e-05/0.248, allocations: 83.22 kB / 0.7877 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.248, allocations: 0 / 0.7877 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002115/0.2483, allocations: 11.98 kB / 0.7877 GB, free: 8.777 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005252/0.2488, allocations: 0.7007 MB / 0.7883 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.249, allocations: 43.95 kB / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.249, allocations: 0 / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.582e-05/0.2491, allocations: 19.98 kB / 0.7884 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.2494, allocations: 12.14 kB / 0.7884 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.2498, allocations: 131.1 kB / 0.7885 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.2501, allocations: 0.6806 MB / 0.7892 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.036e-05/0.2501, allocations: 3.938 kB / 0.7892 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.2502, allocations: 11.44 kB / 0.7892 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2502, allocations: 0 / 0.7892 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.2666, allocations: 1.432 MB / 0.7906 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.869/8.136, allocations: 17.38 kB / 0.7906 GB, free: 5.742 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)