Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001761/0.001761, allocations: 116.8 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.001906/0.001906, allocations: 209.5 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.496/1.496, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.964/2.964, allocations: 0.5003 GB / 0.8026 GB, free: 6.727 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_latest_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.001974/0.001974, allocations: 63.91 kB / 1.165 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9122/0.9142, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001866/0.9161, allocations: 0.6241 MB / 1.341 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009104/0.917, allocations: 0.8536 MB / 1.342 GB, free: 15.24 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.6e-05/0.917, allocations: 0 / 1.342 GB, free: 15.24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.447e-05/0.9171, allocations: 8.5 kB / 1.342 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.666e-05/0.9171, allocations: 1.188 kB / 1.342 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.9173, allocations: 23.05 kB / 1.342 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.302e-05/0.9173, allocations: 26.53 kB / 1.342 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.9174, allocations: 7.25 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.292e-05/0.9175, allocations: 14.86 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.326e-05/0.9176, allocations: 19.39 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.9176, allocations: 1.594 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-06/0.9176, allocations: 2.406 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.9176, allocations: 2.625 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/0.9176, allocations: 14.53 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.08e-05/0.9177, allocations: 21.23 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.9177, allocations: 0 / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.664e-06/0.9177, allocations: 1.344 kB / 1.342 GB, free: 15.17 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.9177, allocations: 3.938 kB / 1.342 GB, free: 15.16 MB / 1.061 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.0004192/0.9181, allocations: 336.9 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.9182, allocations: 10 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.354e-05/0.9182, allocations: 1.25 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.007e-05/0.9182, allocations: 39.41 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/0.9183, allocations: 2.734 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.465e-05/0.9183, allocations: 176 kB / 1.342 GB, free: 14.55 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.9184, allocations: 4.312 kB / 1.342 GB, free: 14.55 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.9184, allocations: 2.688 kB / 1.342 GB, free: 14.55 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.9186, allocations: 59.39 kB / 1.342 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.9186, allocations: 0 / 1.342 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.9186, allocations: 0 / 1.342 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.9186, allocations: 1.188 kB / 1.342 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.9188, allocations: 39.23 kB / 1.342 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00028/0.9191, allocations: 252.3 kB / 1.343 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.9192, allocations: 42.05 kB / 1.343 GB, free: 14.19 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.76e-05/0.9193, allocations: 25.34 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.9193, allocations: 4 kB / 1.343 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.9193, allocations: 32.48 kB / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.9193, allocations: 0 / 1.343 GB, free: 14.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0004062/0.9198, allocations: 83.52 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.9198, allocations: 52.2 kB / 1.343 GB, free: 14.03 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.531e-05/0.9198, allocations: 105.9 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.9198, allocations: 25.7 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.287e-05/0.9199, allocations: 81.94 kB / 1.343 GB, free: 13.81 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.9199, allocations: 9.297 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.9199, allocations: 17.44 kB / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.502e-05/0.92, allocations: 312.8 kB / 1.343 GB, free: 13.47 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.525e-05/0.9201, allocations: 15.14 kB / 1.343 GB, free: 13.47 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.643e-05/0.9201, allocations: 23.44 kB / 1.343 GB, free: 13.46 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.9203, allocations: 43.72 kB / 1.343 GB, free: 13.45 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9203, allocations: 0 / 1.343 GB, free: 13.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002124/0.9205, allocations: 70.05 kB / 1.343 GB, free: 13.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.9205, allocations: 4.75 kB / 1.343 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.9205, allocations: 4.094 kB / 1.343 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.9206, allocations: 2.391 kB / 1.343 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.9207, allocations: 15.86 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.9207, allocations: 2.219 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.463e-05/0.9207, allocations: 6.234 kB / 1.344 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.9207, allocations: 0 / 1.344 GB, free: 13.4 MB / 1.061 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 5.113e-05/0.9208, allocations: 112 kB / 1.344 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.9208, allocations: 5.484 kB / 1.344 GB, free: 13.28 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.9208, allocations: 13.3 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.9208, allocations: 0.7969 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.9208, allocations: 1.5 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.9208, allocations: 0 / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.921, allocations: 160.8 kB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.921, allocations: 0 / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.224e-05/0.921, allocations: 12.78 kB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.921, allocations: 6.734 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.921, allocations: 0 / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.921, allocations: 0 / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.921, allocations: 6.453 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.9213, allocations: 171.1 kB / 1.344 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.9213, allocations: 79.52 kB / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.9213, allocations: 0.6094 kB / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.387e-05/0.9214, allocations: 6.281 kB / 1.344 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.9214, allocations: 13.48 kB / 1.344 GB, free: 12.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.9214, allocations: 0.5625 kB / 1.344 GB, free: 12.81 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.105e-05/0.9215, allocations: 80.11 kB / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9215, allocations: 0 / 1.344 GB, free: 12.73 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002134/0.9217, allocations: 5.406 kB / 1.344 GB, free: 12.73 MB / 1.061 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.0003889/0.9221, allocations: 0.7054 MB / 1.345 GB, free: 12.05 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002312/0.9223, allocations: 40.33 kB / 1.345 GB, free: 12.05 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9223, allocations: 0 / 1.345 GB, free: 12.05 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.812e-05/0.9224, allocations: 22.44 kB / 1.345 GB, free: 12.04 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.9227, allocations: 10.03 kB / 1.345 GB, free: 12.04 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/0.9231, allocations: 141.6 kB / 1.345 GB, free: 11.89 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.875e-05/0.9232, allocations: 0.6754 MB / 1.346 GB, free: 11.2 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.792e-05/0.9232, allocations: 3.125 kB / 1.346 GB, free: 11.2 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.088e-05/0.9233, allocations: 10.55 kB / 1.346 GB, free: 11.19 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.9233, allocations: 0 / 1.346 GB, free: 11.19 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.9411, allocations: 1.51 MB / 1.347 GB, free: 10.82 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.452/9.393, allocations: 21.53 kB / 1.347 GB, free: 10.8 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.84860942402156] Failed to read output from testmodel.py, exit status != 0: 9.520303027995396 9.536169042 8.615096667 Calling exit ...