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.001885/0.001885, allocations: 97.31 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.002676/0.002676, allocations: 219.1 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.809/2.809, allocations: 476.8 MB / 0.7715 GB, free: 3.816 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.002194/0.002194, allocations: 67.06 kB / 1.118 GB, free: 39.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3087, allocations: 170 MB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002332/0.311, allocations: 0.6519 MB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.3123, allocations: 0.855 MB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.3124, allocations: 4 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.42e-05/0.3124, allocations: 3.938 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.414e-05/0.3125, allocations: 3.938 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.3127, allocations: 27.92 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.3128, allocations: 43.91 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.3129, allocations: 21.38 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.453e-05/0.313, allocations: 15.94 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.763e-05/0.3131, allocations: 23.91 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.3131, allocations: 4 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.562e-05/0.3131, allocations: 4 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.868e-05/0.3132, allocations: 12 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.3132, allocations: 19.84 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.3133, allocations: 43.39 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3133, allocations: 3.984 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3133, allocations: 0 / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.3134, allocations: 4 kB / 1.286 GB, free: 8.828 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.0005415/0.3139, allocations: 270.3 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3139, allocations: 12.03 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.682e-05/0.314, allocations: 192 / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.934e-05/0.314, allocations: 38.67 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.314, allocations: 8.891 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.3142, allocations: 114.5 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.3142, allocations: 384 / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.3142, allocations: 4.375 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.3144, allocations: 73.95 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.3145, allocations: 4 kB / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.3145, allocations: 4 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.3145, allocations: 0 / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.3147, allocations: 55.88 kB / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.3152, allocations: 247.8 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.3155, allocations: 58.55 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.3156, allocations: 32.91 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.3156, allocations: 0 / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.3156, allocations: 38.5 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.3156, allocations: 0 / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004625/0.3161, allocations: 105.6 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.3161, allocations: 55.41 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.3163, allocations: 105.8 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.3163, allocations: 25.7 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.3164, allocations: 96.08 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.3164, allocations: 11.95 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.3164, allocations: 13.72 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.3166, allocations: 322.8 kB / 1.287 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.3167, allocations: 23.92 kB / 1.287 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-05/0.3168, allocations: 23.97 kB / 1.287 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.317, allocations: 56.75 kB / 1.287 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.317, allocations: 4 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002802/0.3173, allocations: 89.92 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.3173, allocations: 4 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.3174, allocations: 3.984 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.3174, allocations: 0 / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.3175, allocations: 15.98 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3176, allocations: 0 / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.676e-05/0.3176, allocations: 7.984 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.3176, allocations: 0 / 1.288 GB, free: 6.742 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 0.0001343/0.3178, allocations: 125.7 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.3178, allocations: 3.953 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/0.3179, allocations: 4 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.3179, allocations: 4 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3179, allocations: 0 / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3179, allocations: 0 / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.3181, allocations: 148.7 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3181, allocations: 0 / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.3182, allocations: 15.98 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.3182, allocations: 4.25 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3182, allocations: 4 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.3182, allocations: 4 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.3183, allocations: 0 / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.3186, allocations: 183.4 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.3186, allocations: 3.953 kB / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.3186, allocations: 3.938 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.902e-05/0.3187, allocations: 7.984 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.3188, allocations: 15.92 kB / 1.288 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.3188, allocations: 4 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.432e-05/0.3189, allocations: 91.27 kB / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3189, allocations: 0 / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002315/0.3191, allocations: 4 kB / 1.288 GB, free: 6.055 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.0006525/0.3198, allocations: 0.7085 MB / 1.289 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002716/0.32, allocations: 67.88 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.32, allocations: 0 / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.3201, allocations: 27.97 kB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.3205, allocations: 11.94 kB / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.3223, allocations: 1.305 MB / 1.29 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.013e-05/0.3224, allocations: 71.34 kB / 1.29 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.075e-05/0.3224, allocations: 4 kB / 1.29 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.963e-05/0.3225, allocations: 15.75 kB / 1.29 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of SimCode: time 1.483e-06/0.3225, allocations: 0 / 1.29 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.3461, allocations: 2.048 MB / 1.292 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.96, allocations: 6.594 kB / 1.292 GB, free: 1.828 MB / 0.9825 GB " [Timeout remaining time 288] (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.624941242975183] Failed to read output from testmodel.py, exit status != 0: 12.61308043601457 12.141631261 11.825057042 Calling exit ...