Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 118.9 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002494/0.002494, allocations: 211.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.542/1.542, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.834/2.834, allocations: 476.7 MB / 0.7678 GB, free: 9.34 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 69.78 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9988/1.001, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002201/1.003, allocations: 0.6238 MB / 1.28 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001343/1.004, allocations: 0.8576 MB / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/1.004, allocations: 0.8125 kB / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/1.004, allocations: 3.938 kB / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.987e-05/1.005, allocations: 0.75 kB / 1.28 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/1.005, allocations: 18.5 kB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.617e-05/1.005, allocations: 26.72 kB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/1.005, allocations: 7.531 kB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.147e-05/1.005, allocations: 15.19 kB / 1.28 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.79e-05/1.005, allocations: 19.67 kB / 1.28 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/1.005, allocations: 2.062 kB / 1.28 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/1.005, allocations: 2.031 kB / 1.28 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/1.005, allocations: 2.312 kB / 1.28 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/1.005, allocations: 15.67 kB / 1.28 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.999e-05/1.005, allocations: 20.64 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.005, allocations: 0 / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.806e-06/1.005, allocations: 5 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.232e-06/1.005, allocations: 4 kB / 1.281 GB, free: 10.62 MB / 0.9981 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.0005724/1.006, allocations: 337.7 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.006, allocations: 10 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.048e-05/1.006, allocations: 192 / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/1.006, allocations: 35.84 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.45e-05/1.006, allocations: 6.688 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/1.006, allocations: 172.3 kB / 1.281 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/1.006, allocations: 4.312 kB / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/1.006, allocations: 6.281 kB / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/1.006, allocations: 54.58 kB / 1.281 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/1.006, allocations: 1.094 kB / 1.281 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/1.006, allocations: 0 / 1.281 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/1.006, allocations: 1.859 kB / 1.281 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/1.007, allocations: 34 kB / 1.281 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/1.007, allocations: 261.1 kB / 1.281 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/1.007, allocations: 41.25 kB / 1.281 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/1.007, allocations: 25.09 kB / 1.281 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/1.007, allocations: 0 / 1.281 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/1.007, allocations: 32.45 kB / 1.281 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 4.589e-06/1.007, allocations: 4 kB / 1.281 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004098/1.008, allocations: 84.05 kB / 1.282 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/1.008, allocations: 55.95 kB / 1.282 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.632e-05/1.008, allocations: 101.7 kB / 1.282 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/1.008, allocations: 25.7 kB / 1.282 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/1.008, allocations: 81.95 kB / 1.282 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/1.008, allocations: 5.969 kB / 1.282 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/1.008, allocations: 20.52 kB / 1.282 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.008, allocations: 313.4 kB / 1.282 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/1.008, allocations: 15.27 kB / 1.282 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/1.008, allocations: 19.52 kB / 1.282 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/1.008, allocations: 46.48 kB / 1.282 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.008, allocations: 0.7188 kB / 1.282 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002406/1.009, allocations: 70.02 kB / 1.282 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/1.009, allocations: 8.953 kB / 1.282 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/1.009, allocations: 1.062 kB / 1.282 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/1.009, allocations: 0 / 1.282 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/1.009, allocations: 10.3 kB / 1.282 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/1.009, allocations: 0 / 1.282 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.97e-05/1.009, allocations: 10.53 kB / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/1.009, allocations: 1.688 kB / 1.282 GB, free: 8.855 MB / 0.9981 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 0.0001049/1.009, allocations: 112.5 kB / 1.282 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/1.009, allocations: 9.188 kB / 1.282 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/1.009, allocations: 12.84 kB / 1.282 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/1.009, allocations: 0 / 1.282 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.009, allocations: 1.031 kB / 1.282 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/1.009, allocations: 0.75 kB / 1.282 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/1.009, allocations: 168.4 kB / 1.283 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.009, allocations: 1.125 kB / 1.283 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.744e-05/1.009, allocations: 9.516 kB / 1.283 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/1.009, allocations: 0 / 1.283 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/1.009, allocations: 1.906 kB / 1.283 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.009, allocations: 0 / 1.283 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.009, allocations: 1.25 kB / 1.283 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/1.01, allocations: 176.9 kB / 1.283 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.492e-05/1.01, allocations: 78.91 kB / 1.283 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/1.01, allocations: 1.094 kB / 1.283 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.785e-05/1.01, allocations: 5.906 kB / 1.283 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/1.01, allocations: 8.344 kB / 1.283 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/1.01, allocations: 1.766 kB / 1.283 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.469e-05/1.01, allocations: 80.14 kB / 1.283 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.01, allocations: 0 / 1.283 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002187/1.01, allocations: 7.656 kB / 1.283 GB, free: 8.184 MB / 0.9981 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.0006932/1.011, allocations: 0.699 MB / 1.284 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002798/1.011, allocations: 45.36 kB / 1.284 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.011, allocations: 0.8125 kB / 1.284 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/1.011, allocations: 22.66 kB / 1.284 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/1.012, allocations: 5.703 kB / 1.284 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000533/1.012, allocations: 129.7 kB / 1.284 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/1.013, allocations: 0.6837 MB / 1.285 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.044e-05/1.013, allocations: 2.125 kB / 1.285 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/1.013, allocations: 11.91 kB / 1.285 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/1.013, allocations: 0 / 1.285 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/1.032, allocations: 1.509 MB / 1.286 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.664/9.696, allocations: 10.7 kB / 1.286 GB, free: 6.246 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.936392638017423] Failed to read output from testmodel.py, exit status != 0: 9.82052485999884 9.836908149 8.828491921 Calling exit ...