Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001247/0.001247, allocations: 101.5 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.00138/0.00138, allocations: 217 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.957 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: 33.39 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.IntegerToReal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_12_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.002033/0.002033, allocations: 67.39 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3451, allocations: 176.1 MB / 1.327 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001828/0.3469, allocations: 0.6688 MB / 1.327 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3479, allocations: 0.8709 MB / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.778e-05/0.348, allocations: 3.938 kB / 1.328 GB, free: 448 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.348, allocations: 3.938 kB / 1.328 GB, free: 444 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.527e-05/0.3481, allocations: 3.938 kB / 1.328 GB, free: 440 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.3482, allocations: 31.89 kB / 1.328 GB, free: 408 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.308e-05/0.3483, allocations: 39.98 kB / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.685e-05/0.3484, allocations: 11.98 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.604e-05/0.3484, allocations: 23.86 kB / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.325e-05/0.3485, allocations: 23.91 kB / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.3485, allocations: 4 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.3485, allocations: 8 kB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.3485, allocations: 7.984 kB / 1.328 GB, free: 288 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.3486, allocations: 19.88 kB / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.884e-05/0.3487, allocations: 48.06 kB / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3487, allocations: 0 / 1.328 GB, free: 220 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3487, allocations: 4 kB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3487, allocations: 0 / 1.328 GB, free: 216 kB / 1.014 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.0004981/0.3492, allocations: 278.3 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3492, allocations: 8.031 kB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.428e-05/0.3492, allocations: 4.188 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.349e-05/0.3493, allocations: 34.75 kB / 1.329 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.3493, allocations: 4.891 kB / 1.329 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.3494, allocations: 114.5 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.3494, allocations: 8.312 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.3494, allocations: 8.359 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.3497, allocations: 65.97 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.3497, allocations: 4 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3497, allocations: 7.922 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.3497, allocations: 0 / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002275/0.3499, allocations: 51.95 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.3503, allocations: 263.7 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.3505, allocations: 62.58 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.3506, allocations: 28.88 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.3507, allocations: 4 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3507, allocations: 34.56 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3507, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004287/0.3511, allocations: 105.6 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.3512, allocations: 51.41 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.188e-05/0.3513, allocations: 113.8 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3513, allocations: 25.7 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.803e-05/0.3513, allocations: 92.12 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.3514, allocations: 11.91 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.3514, allocations: 13.72 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3515, allocations: 326.8 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.3516, allocations: 19.98 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.638e-05/0.3517, allocations: 23.97 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.3519, allocations: 56.81 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3519, allocations: 0 / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002596/0.3522, allocations: 85.58 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3522, allocations: 4 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3522, allocations: 4 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3522, allocations: 0 / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.3524, allocations: 11.98 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3524, allocations: 0 / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.769e-05/0.3524, allocations: 8 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.3524, allocations: 3.984 kB / 1.33 GB, free: 14.11 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 (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.942e-05/0.3525, allocations: 117.8 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.3526, allocations: 3.953 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.3526, allocations: 12 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3526, allocations: 336 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3526, allocations: 4.188 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3526, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.3528, allocations: 156.6 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3528, allocations: 7.984 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.852e-05/0.3529, allocations: 15.92 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3529, allocations: 3.938 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.3529, allocations: 0 / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3529, allocations: 0 / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3529, allocations: 0 / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.3532, allocations: 187.4 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.3532, allocations: 3.953 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.3533, allocations: 7.984 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-05/0.3534, allocations: 4 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.3534, allocations: 11.98 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.3534, allocations: 0 / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.487e-05/0.3535, allocations: 87.27 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3535, allocations: 0 / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002234/0.3537, allocations: 8 kB / 1.331 GB, free: 13.41 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 (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.0006307/0.3543, allocations: 0.7202 MB / 1.332 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002556/0.3546, allocations: 51.94 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3546, allocations: 4 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.3547, allocations: 39.91 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.355, allocations: 0 / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.3567, allocations: 1.314 MB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.357, allocations: 0.6846 MB / 1.334 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.176e-05/0.3571, allocations: 4 kB / 1.334 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.852e-05/0.3571, allocations: 19.42 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of SimCode: time 6.52e-07/0.3571, allocations: 0 / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.3791, allocations: 1.969 MB / 1.336 GB, free: 8.633 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.8, allocations: 12.73 kB / 1.336 GB, free: 8.625 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.565560661954805] Failed to read output from testmodel.py, exit status != 0: 11.95896008994896 11.976911434 11.624945085 Calling exit ...