Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.001661/0.001661, allocations: 98.08 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.002057/0.002057, allocations: 218.5 kB / 23.04 MB, free: 5.074 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.98 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 3.449/3.449, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 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.IntegerToReal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",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.002064/0.002064, allocations: 70.06 kB / 1.171 GB, free: 19.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3597, allocations: 179 MB / 1.345 GB, free: 0.5 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001961/0.3617, allocations: 0.6683 MB / 1.346 GB, free: 15.83 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.3627, allocations: 0.8709 MB / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.3628, allocations: 0 / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.855e-05/0.3628, allocations: 3.938 kB / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.62e-05/0.3629, allocations: 3.938 kB / 1.347 GB, free: 14.94 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000133/0.363, allocations: 19.97 kB / 1.347 GB, free: 14.92 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.863e-05/0.3631, allocations: 47.84 kB / 1.347 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.451e-05/0.3632, allocations: 11.98 kB / 1.347 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.38e-05/0.3633, allocations: 23.92 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.686e-05/0.3633, allocations: 31.84 kB / 1.347 GB, free: 14.81 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.3633, allocations: 4 kB / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.3634, allocations: 7.938 kB / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.007e-05/0.3634, allocations: 8 kB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.3634, allocations: 19.86 kB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.74e-05/0.3635, allocations: 48.08 kB / 1.347 GB, free: 14.72 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.3635, allocations: 3.984 kB / 1.347 GB, free: 14.72 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3635, allocations: 0 / 1.347 GB, free: 14.72 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.3635, allocations: 0 / 1.347 GB, free: 14.72 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004701/0.364, allocations: 278.2 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.364, allocations: 8.031 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.291e-05/0.364, allocations: 4.188 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.199e-05/0.3641, allocations: 34.73 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.3641, allocations: 4.938 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.3642, allocations: 110.5 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.3642, allocations: 4.375 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.3642, allocations: 8.312 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.3645, allocations: 69.97 kB / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.3645, allocations: 0 / 1.348 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.3645, allocations: 4 kB / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3645, allocations: 0 / 1.348 GB, free: 14.13 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.3647, allocations: 51.94 kB / 1.348 GB, free: 14.08 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.3651, allocations: 255.8 kB / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.3653, allocations: 74.5 kB / 1.348 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3654, allocations: 32.81 kB / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.3654, allocations: 0 / 1.348 GB, free: 13.67 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.3655, allocations: 34.56 kB / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.3655, allocations: 0 / 1.348 GB, free: 13.63 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004184/0.3659, allocations: 113.5 kB / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.3659, allocations: 51.41 kB / 1.348 GB, free: 13.45 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.061e-05/0.366, allocations: 105.8 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.3661, allocations: 29.7 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.3661, allocations: 84.14 kB / 1.348 GB, free: 13.21 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.3661, allocations: 11.91 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.3662, allocations: 17.7 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3663, allocations: 322.8 kB / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.3664, allocations: 27.97 kB / 1.349 GB, free: 12.83 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.813e-05/0.3665, allocations: 23.97 kB / 1.349 GB, free: 12.8 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.3667, allocations: 44.83 kB / 1.349 GB, free: 12.76 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.3667, allocations: 0 / 1.349 GB, free: 12.76 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002562/0.367, allocations: 93.58 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.367, allocations: 4 kB / 1.349 GB, free: 12.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.367, allocations: 4 kB / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.367, allocations: 0 / 1.349 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.3671, allocations: 15.92 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3671, allocations: 0 / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.924e-05/0.3672, allocations: 7.984 kB / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.3672, allocations: 0 / 1.349 GB, free: 12.63 MB / 1.045 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.598e-05/0.3673, allocations: 122.4 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.3673, allocations: 7.938 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.3674, allocations: 12 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3674, allocations: 256 / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3674, allocations: 0 / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.3674, allocations: 4 kB / 1.349 GB, free: 12.47 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.3676, allocations: 148.6 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3676, allocations: 3.984 kB / 1.349 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.446e-05/0.3677, allocations: 11.98 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3677, allocations: 3.938 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.3677, allocations: 4 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3677, allocations: 0 / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3677, allocations: 3.938 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.368, allocations: 187.7 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.368, allocations: 4.031 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.368, allocations: 0 / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.3681, allocations: 11.98 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.3682, allocations: 11.98 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.3682, allocations: 0 / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.181e-05/0.3682, allocations: 91.27 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3682, allocations: 0 / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002239/0.3685, allocations: 4 kB / 1.349 GB, free: 11.93 MB / 1.045 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006707/0.3691, allocations: 0.7201 MB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002626/0.3694, allocations: 51.95 kB / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3694, allocations: 0 / 1.35 GB, free: 11.14 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.3695, allocations: 31.91 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.3698, allocations: 18.05 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.3715, allocations: 1.304 MB / 1.352 GB, free: 9.707 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.3718, allocations: 0.6844 MB / 1.352 GB, free: 8.996 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.472e-05/0.3719, allocations: 7.984 kB / 1.352 GB, free: 8.988 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.504e-05/0.3719, allocations: 19.44 kB / 1.352 GB, free: 8.969 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.3719, allocations: 0 / 1.352 GB, free: 8.969 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.3934, allocations: 1.977 MB / 1.354 GB, free: 7.141 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.81, allocations: 11.42 kB / 1.354 GB, free: 7.133 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.835755514039192] Failed to read output from testmodel.py, exit status != 0: 11.978895500011276 12.009125066 11.640794283 Calling exit ...