Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002059/0.002059, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002097/0.002097, allocations: 218.7 kB / 23.03 MB, free: 4.922 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.204/3.204, allocations: 0.49 GB / 0.7959 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_12_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.002008/0.002008, allocations: 68.66 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3628, allocations: 176.1 MB / 1.327 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002151/0.365, allocations: 0.6106 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.3663, allocations: 0.8552 MB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.3663, allocations: 4 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.569e-05/0.3664, allocations: 0 / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.511e-05/0.3665, allocations: 3.938 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.3666, allocations: 15.98 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.737e-05/0.3667, allocations: 31.91 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.3668, allocations: 0 / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.59e-05/0.3669, allocations: 16.05 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.367, allocations: 12 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.367, allocations: 0 / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.415e-05/0.367, allocations: 4 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.3671, allocations: 11.98 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.3671, allocations: 7.922 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.3672, allocations: 28.12 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.3672, allocations: 4 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3672, allocations: 0 / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.3672, allocations: 0 / 1.328 GB, free: 15.92 MB / 1.029 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.0005584/0.3678, allocations: 262.3 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3678, allocations: 8.031 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.452e-05/0.3679, allocations: 8.125 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.769e-05/0.3679, allocations: 30.75 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.3679, allocations: 8.938 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3681, allocations: 102.5 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.3681, allocations: 4.375 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.3681, allocations: 384 / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.3683, allocations: 53.98 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3683, allocations: 3.984 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3683, allocations: 0 / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3684, allocations: 0 / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.3685, allocations: 39.97 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.369, allocations: 227.9 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.3692, allocations: 38.55 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.3693, allocations: 24.91 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.3693, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.3693, allocations: 30.56 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3693, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004163/0.3697, allocations: 93.56 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.3698, allocations: 55.41 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.454e-05/0.3699, allocations: 97.86 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.3699, allocations: 29.64 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.3699, allocations: 80.14 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.37, allocations: 15.88 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.37, allocations: 13.72 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3702, allocations: 314.8 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.323e-05/0.3703, allocations: 24.11 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.674e-05/0.3703, allocations: 19.97 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.3705, allocations: 44.77 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3705, allocations: 0 / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000209/0.3707, allocations: 69.59 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3707, allocations: 8.094 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3707, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3708, allocations: 3.984 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.3709, allocations: 8 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3709, allocations: 0 / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.5e-05/0.3709, allocations: 7.984 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.3709, allocations: 0 / 1.33 GB, free: 14.03 MB / 1.029 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 9.809e-05/0.371, allocations: 118.3 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.371, allocations: 192 / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.377e-05/0.3711, allocations: 11.3 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3711, allocations: 3.984 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3711, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.3711, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.3713, allocations: 144.6 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3713, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.817e-05/0.3713, allocations: 4 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.3713, allocations: 7.984 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3713, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3713, allocations: 3.938 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3713, allocations: 3.984 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.3716, allocations: 167.5 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-06/0.3716, allocations: 4 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.3716, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.701e-05/0.3717, allocations: 7.984 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.3718, allocations: 4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.3718, allocations: 7.984 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.776e-05/0.3718, allocations: 79.28 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3718, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002202/0.3721, allocations: 15.97 kB / 1.33 GB, free: 13.38 MB / 1.029 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.0006363/0.3727, allocations: 0.6992 MB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002295/0.3729, allocations: 39.91 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3729, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-05/0.373, allocations: 28.06 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.3734, allocations: 4 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005361/0.3739, allocations: 139.1 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.95e-05/0.374, allocations: 59.34 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.524e-05/0.374, allocations: 4 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.3741, allocations: 15.42 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3741, allocations: 4.062 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.3961, allocations: 1.63 MB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.77, allocations: 8.703 kB / 1.333 GB, free: 10.84 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.512375540100038] Failed to read output from testmodel.py, exit status != 0: 11.931269561056979 11.948822116 11.578183255 Calling exit ...