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.001277/0.001277, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001373/0.001373, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.86/2.86, allocations: 476.7 MB / 0.7715 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 176] 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.002058/0.002058, allocations: 67.92 kB / 1.118 GB, free: 39.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3373, allocations: 169.9 MB / 1.284 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001961/0.3393, allocations: 0.6401 MB / 1.285 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.3404, allocations: 0.8549 MB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.507e-05/0.3405, allocations: 0 / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/0.3405, allocations: 3.938 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.268e-05/0.3405, allocations: 7.938 kB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.3407, allocations: 15.98 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.706e-05/0.3408, allocations: 31.91 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.604e-05/0.3409, allocations: 4 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.283e-05/0.3409, allocations: 15.98 kB / 1.286 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.367e-05/0.341, allocations: 15.92 kB / 1.286 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.341, allocations: 0 / 1.286 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.11e-05/0.341, allocations: 4 kB / 1.286 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.341, allocations: 0 / 1.286 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.3411, allocations: 15.92 kB / 1.286 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.889e-05/0.3412, allocations: 31.41 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3412, allocations: 0 / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3412, allocations: 0 / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3412, allocations: 0 / 1.286 GB, free: 9.934 MB / 0.9825 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.0004935/0.3417, allocations: 262.3 kB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.3417, allocations: 8.031 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.221e-05/0.3417, allocations: 192 / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.504e-05/0.3417, allocations: 34.75 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.3418, allocations: 8.938 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.3419, allocations: 106.5 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.3419, allocations: 384 / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.3419, allocations: 4.375 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.3421, allocations: 57.97 kB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3421, allocations: 0 / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.3421, allocations: 0 / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3421, allocations: 3.938 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.3423, allocations: 39.95 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.3427, allocations: 223.9 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.3428, allocations: 46.53 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.486e-05/0.3429, allocations: 20.91 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.343, allocations: 0 / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.343, allocations: 42.55 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.343, allocations: 0 / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003897/0.3434, allocations: 85.58 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.3434, allocations: 51.41 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.3435, allocations: 97.86 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.3435, allocations: 29.83 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.3436, allocations: 88.12 kB / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.3436, allocations: 3.953 kB / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.3436, allocations: 17.72 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3438, allocations: 314.8 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.214e-05/0.3439, allocations: 19.97 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.475e-05/0.344, allocations: 15.98 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.3441, allocations: 52.81 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3441, allocations: 0 / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002263/0.3444, allocations: 69.78 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3444, allocations: 6.5 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3444, allocations: 0 / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3444, allocations: 0 / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.3445, allocations: 20 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3445, allocations: 0 / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.921e-05/0.3446, allocations: 7.938 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.3446, allocations: 0 / 1.287 GB, free: 8.035 MB / 0.9825 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.786e-05/0.3447, allocations: 117.8 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.3447, allocations: 3.984 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.544e-05/0.3447, allocations: 3.312 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3447, allocations: 0 / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3447, allocations: 4 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3447, allocations: 4 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.3449, allocations: 140.6 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3449, allocations: 0 / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.101e-05/0.345, allocations: 7.984 kB / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.345, allocations: 4 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.345, allocations: 0 / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.345, allocations: 3.984 kB / 1.288 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.345, allocations: 0 / 1.288 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.3453, allocations: 171.4 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-06/0.3453, allocations: 7.938 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.3453, allocations: 4 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-05/0.3454, allocations: 7.984 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.3454, allocations: 0 / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.3454, allocations: 0 / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.839e-05/0.3455, allocations: 91.3 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3455, allocations: 0 / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002186/0.3457, allocations: 4 kB / 1.288 GB, free: 7.406 MB / 0.9825 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.0006329/0.3463, allocations: 0.7007 MB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002275/0.3466, allocations: 39.89 kB / 1.289 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.3466, allocations: 0 / 1.289 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.987e-05/0.3467, allocations: 27.97 kB / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.347, allocations: 0 / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004784/0.3475, allocations: 135.4 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.3478, allocations: 0.6768 MB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.183e-05/0.3478, allocations: 7.938 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.504e-05/0.3479, allocations: 11.44 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3479, allocations: 0 / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.3716, allocations: 1.596 MB / 1.291 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.78, allocations: 6.688 kB / 1.291 GB, free: 4.266 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.400066091970075] Failed to read output from testmodel.py, exit status != 0: 12.423578305984847 11.957133631 11.612655161 Calling exit ...