Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001802/0.001802, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.002346/0.002346, allocations: 214.3 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.904/2.904, allocations: 476.7 MB / 0.7715 GB, free: 4.262 MB / 0.6231 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.IntegerToReal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_11_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.002059/0.002059, allocations: 65.39 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3171, allocations: 170 MB / 1.284 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001879/0.319, allocations: 0.6717 MB / 1.285 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.3201, allocations: 0.8667 MB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.137e-05/0.3201, allocations: 0 / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.3201, allocations: 3.938 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.982e-05/0.3202, allocations: 3.938 kB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.3203, allocations: 31.91 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.539e-05/0.3204, allocations: 43.91 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.212e-05/0.3205, allocations: 15.92 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.894e-05/0.3206, allocations: 19.92 kB / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.534e-05/0.3206, allocations: 23.92 kB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.3207, allocations: 4 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.3207, allocations: 4 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.323e-05/0.3207, allocations: 15.97 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.3207, allocations: 19.88 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/0.3208, allocations: 47.36 kB / 1.286 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3208, allocations: 0 / 1.286 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3208, allocations: 0 / 1.286 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.3209, allocations: 0 / 1.286 GB, free: 9.973 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004738/0.3213, allocations: 278.3 kB / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3214, allocations: 8.031 kB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.245e-05/0.3214, allocations: 4.188 kB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.3214, allocations: 38.75 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.3214, allocations: 4.891 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.3216, allocations: 114.4 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.3216, allocations: 384 / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.3216, allocations: 4.375 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.3218, allocations: 73.97 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.3218, allocations: 3.938 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3218, allocations: 3.984 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3218, allocations: 4 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/0.322, allocations: 47.95 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/0.3225, allocations: 259.8 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.3227, allocations: 62.53 kB / 1.287 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.3228, allocations: 32.91 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.3228, allocations: 0 / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.3228, allocations: 30.56 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.3228, allocations: 0 / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004292/0.3233, allocations: 109.6 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.3233, allocations: 55.41 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/0.3234, allocations: 109.8 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.3234, allocations: 29.7 kB / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.3235, allocations: 92.19 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.3235, allocations: 7.906 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.3235, allocations: 17.72 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3237, allocations: 322.8 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.3238, allocations: 23.98 kB / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.817e-05/0.3239, allocations: 23.97 kB / 1.288 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.3241, allocations: 56.75 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3241, allocations: 0 / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002449/0.3243, allocations: 85.83 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.3243, allocations: 8 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3243, allocations: 4 kB / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3243, allocations: 4 kB / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.3245, allocations: 15.98 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3245, allocations: 0 / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.233e-05/0.3245, allocations: 7.938 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.3246, allocations: 7.984 kB / 1.288 GB, free: 7.863 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 (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 8.185e-05/0.3246, allocations: 109.8 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.3247, allocations: 7.953 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.3247, allocations: 12 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3247, allocations: 3.938 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3247, allocations: 0 / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3247, allocations: 0 / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.3249, allocations: 148.7 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.3249, allocations: 3.938 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.528e-05/0.325, allocations: 11.98 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.325, allocations: 0 / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.325, allocations: 4 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.325, allocations: 0 / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.325, allocations: 4 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.3253, allocations: 183.8 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.3253, allocations: 3.953 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.3253, allocations: 4.031 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.825e-05/0.3254, allocations: 7.984 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.3255, allocations: 11.98 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.3255, allocations: 4 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.273e-05/0.3255, allocations: 91.27 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3255, allocations: 0 / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002399/0.3258, allocations: 4 kB / 1.288 GB, free: 7.188 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 (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.0006025/0.3264, allocations: 0.7163 MB / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000262/0.3266, allocations: 55.94 kB / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3266, allocations: 0 / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.3268, allocations: 35.91 kB / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.3271, allocations: 10.59 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.3287, allocations: 1.317 MB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.329, allocations: 0.6807 MB / 1.291 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.991e-05/0.329, allocations: 4 kB / 1.291 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.3291, allocations: 23.42 kB / 1.291 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3291, allocations: 0 / 1.291 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.3506, allocations: 1.964 MB / 1.293 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.81, allocations: 10.25 kB / 1.293 GB, free: 2.398 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.537281689001247] Failed to read output from testmodel.py, exit status != 0: 12.50360808399273 12.007626737 11.681410309 Calling exit ...