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.001621/0.001621, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001886/0.001886, allocations: 221.4 kB / 23.03 MB, free: 4.945 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.215/3.215, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.002025/0.002025, allocations: 61.41 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3524, allocations: 176.1 MB / 1.327 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001937/0.3543, allocations: 0.6521 MB / 1.327 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3554, allocations: 0.8631 MB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.3555, allocations: 11.94 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.3555, allocations: 3.938 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.427e-05/0.3556, allocations: 3.938 kB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.3557, allocations: 15.94 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.419e-05/0.3558, allocations: 51.83 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.3559, allocations: 11.98 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.538e-05/0.356, allocations: 19.94 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.299e-05/0.3561, allocations: 23.91 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.3561, allocations: 4 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.3561, allocations: 4 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.3561, allocations: 15.98 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.3562, allocations: 19.86 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.3563, allocations: 48.02 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3563, allocations: 3.984 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3563, allocations: 0 / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.3563, allocations: 0 / 1.328 GB, free: 15.76 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000524/0.3568, allocations: 274.3 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3568, allocations: 8.031 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.523e-05/0.3569, allocations: 192 / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.3569, allocations: 42.73 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.3569, allocations: 8.891 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.3571, allocations: 106.5 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.3571, allocations: 384 / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.3571, allocations: 4.375 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.3573, allocations: 77.91 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.3573, allocations: 0 / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3573, allocations: 0 / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3573, allocations: 0 / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.3575, allocations: 55.94 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.358, allocations: 247.8 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.3582, allocations: 62.48 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.3583, allocations: 28.91 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.3583, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.3583, allocations: 38.56 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3583, allocations: 0 / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.000418/0.3587, allocations: 113.6 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.3588, allocations: 55.34 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.971e-05/0.3589, allocations: 109.8 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.3589, allocations: 25.7 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.3589, allocations: 84.2 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.359, allocations: 19.89 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.359, allocations: 13.72 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3592, allocations: 326.7 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.797e-05/0.3593, allocations: 23.92 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.218e-05/0.3594, allocations: 31.97 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.3595, allocations: 48.81 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3595, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002561/0.3598, allocations: 85.64 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.3598, allocations: 4 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.3598, allocations: 3.938 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3598, allocations: 4 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.36, allocations: 15.98 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.36, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.847e-05/0.36, allocations: 8.234 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.36, allocations: 0 / 1.33 GB, free: 13.68 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.207e-05/0.3601, allocations: 118.3 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.3602, allocations: 7.953 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.3602, allocations: 12 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.3602, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3602, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.3602, allocations: 4 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.3604, allocations: 140.6 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3604, allocations: 4 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.98e-05/0.3605, allocations: 15.98 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3605, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.3605, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3605, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3605, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.3608, allocations: 187.4 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.3608, allocations: 7.953 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.3608, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.3609, allocations: 7.984 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.361, allocations: 11.98 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.361, allocations: 0 / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.532e-05/0.3611, allocations: 91.27 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3611, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000216/0.3613, allocations: 4 kB / 1.331 GB, free: 13 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.0006314/0.3619, allocations: 0.7205 MB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002558/0.3622, allocations: 59.97 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3622, allocations: 3.938 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.3623, allocations: 27.97 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.3626, allocations: 13.14 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.3643, allocations: 1.315 MB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.91e-05/0.3644, allocations: 63.34 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.51e-05/0.3644, allocations: 8 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/0.3645, allocations: 19.42 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3645, allocations: 0 / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.3862, allocations: 2.044 MB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.87, allocations: 7.266 kB / 1.335 GB, free: 8.762 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.622967406990938] Failed to read output from testmodel.py, exit status != 0: 12.032206389936619 12.059174841 11.697958538 Calling exit ...