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.0007468/0.000747, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.0007873/0.0007874, allocations: 168.7 kB / 15.95 MB, free: 204 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.295/1.295, allocations: 205.4 MB / 222.1 MB, free: 5.758 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.581/1.581, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005009/0.000501, allocations: 14.94 kB / 0.6738 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2311, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0007847/0.2319, allocations: 353.6 kB / 0.7877 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007775/0.2327, allocations: 0.8167 MB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.2327, allocations: 0 / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.301e-05/0.2328, allocations: 0 / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.989e-05/0.2328, allocations: 7.938 kB / 0.7886 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001211/0.2329, allocations: 11.98 kB / 0.7886 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.396e-05/0.233, allocations: 15.94 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.443e-05/0.2331, allocations: 7.984 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.173e-05/0.2332, allocations: 8 kB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.954e-05/0.2332, allocations: 23.84 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.2332, allocations: 0 / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.2333, allocations: 4 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.2333, allocations: 0 / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.2333, allocations: 25.7 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.861e-05/0.2334, allocations: 19.95 kB / 0.7887 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2334, allocations: 4 kB / 0.7887 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2334, allocations: 0 / 0.7887 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.2334, allocations: 0 / 0.7887 GB, free: 10.53 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.0003913/0.2338, allocations: 339.5 kB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2338, allocations: 12.03 kB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.411e-05/0.2339, allocations: 30.56 kB / 0.789 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.059e-05/0.2339, allocations: 4 kB / 0.789 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.234, allocations: 171 kB / 0.7892 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.234, allocations: 4 kB / 0.7892 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.2341, allocations: 0 / 0.7892 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.2342, allocations: 57.66 kB / 0.7893 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2343, allocations: 4 kB / 0.7893 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.2343, allocations: 3.938 kB / 0.7893 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.2343, allocations: 0 / 0.7893 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.2345, allocations: 47.95 kB / 0.7893 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.2348, allocations: 248.8 kB / 0.7895 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.235, allocations: 54.59 kB / 0.7896 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.483e-05/0.235, allocations: 24.91 kB / 0.7896 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.2351, allocations: 3.984 kB / 0.7896 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.2351, allocations: 38.56 kB / 0.7897 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.2351, allocations: 0 / 0.7897 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000348/0.2355, allocations: 109.6 kB / 0.7898 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.2355, allocations: 55.44 kB / 0.7898 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.026e-05/0.2356, allocations: 97.84 kB / 0.7899 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.2356, allocations: 29.7 kB / 0.7899 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.631e-05/0.2357, allocations: 88.12 kB / 0.79 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.2357, allocations: 3.906 kB / 0.79 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.2357, allocations: 0 / 0.79 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.2358, allocations: 314.8 kB / 0.7903 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.059e-05/0.2359, allocations: 27.98 kB / 0.7904 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.267e-05/0.236, allocations: 31.91 kB / 0.7904 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.216e-05/0.236, allocations: 15.98 kB / 0.7904 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2361, allocations: 8.062 kB / 0.7904 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000182/0.2362, allocations: 77.66 kB / 0.7905 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.2363, allocations: 7.938 kB / 0.7905 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.2363, allocations: 0 / 0.7905 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.709e-06/0.2363, allocations: 0 / 0.7905 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.832e-05/0.2364, allocations: 20.02 kB / 0.7905 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2364, allocations: 3.984 kB / 0.7905 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.2365, allocations: 7.984 kB / 0.7905 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.2365, allocations: 0 / 0.7905 GB, free: 8.398 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 6.328e-05/0.2365, allocations: 114.5 kB / 0.7906 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.2366, allocations: 0 / 0.7906 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.2366, allocations: 7.125 kB / 0.7906 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2366, allocations: 8 kB / 0.7906 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2366, allocations: 0 / 0.7906 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2366, allocations: 0 / 0.7906 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.2367, allocations: 165.6 kB / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2368, allocations: 0 / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.482e-05/0.2368, allocations: 11.98 kB / 0.7908 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2368, allocations: 0 / 0.7908 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.2368, allocations: 4 kB / 0.7908 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2369, allocations: 0 / 0.7908 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2369, allocations: 4 kB / 0.7908 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.2371, allocations: 179.3 kB / 0.791 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.2371, allocations: 88.95 kB / 0.7911 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.2372, allocations: 4.031 kB / 0.7911 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.2372, allocations: 7.984 kB / 0.7911 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.2373, allocations: 11.98 kB / 0.7911 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.2373, allocations: 0 / 0.7911 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.818e-05/0.2374, allocations: 79.28 kB / 0.7912 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2374, allocations: 0 / 0.7912 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002027/0.2376, allocations: 4 kB / 0.7912 GB, free: 7.625 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.0005112/0.2381, allocations: 0.7085 MB / 0.7919 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.2383, allocations: 59.92 kB / 0.7919 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2383, allocations: 0 / 0.7919 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.6e-05/0.2384, allocations: 31.98 kB / 0.792 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.2387, allocations: 7.094 kB / 0.792 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.2391, allocations: 134.6 kB / 0.7921 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.2393, allocations: 0.677 MB / 0.7928 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.062e-05/0.2394, allocations: 0 / 0.7928 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.2394, allocations: 19.48 kB / 0.7928 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2394, allocations: 0 / 0.7928 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01067/0.2501, allocations: 1.151 MB / 0.7939 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.2503, allocations: 199.9 kB / 0.7941 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/1.801, allocations: 3.938 kB / 0.7941 GB, free: 4.664 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/linux/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) Environment - environmentSimulation: