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.001262/0.001262, allocations: 113.9 kB / 17.16 MB, free: 5.895 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.001389/0.001389, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.548/1.548, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.101/3.101, allocations: 0.5003 GB / 0.8026 GB, free: 6.738 MB / 0.6387 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.001982/0.001982, allocations: 67.91 kB / 1.165 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9551/0.9571, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001944/0.9591, allocations: 0.6726 MB / 1.341 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009802/0.96, allocations: 0.8594 MB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.9601, allocations: 5.25 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.9601, allocations: 4.594 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.523e-05/0.9602, allocations: 8.531 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.9603, allocations: 26.55 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.856e-05/0.9604, allocations: 45.19 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.85e-05/0.9605, allocations: 10.28 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.107e-05/0.9606, allocations: 17.92 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.9607, allocations: 29.12 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.9607, allocations: 4.406 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.267e-05/0.9607, allocations: 3.594 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.9607, allocations: 12.28 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.9608, allocations: 25.88 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.9609, allocations: 43.97 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.9609, allocations: 0.6562 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9609, allocations: 1.344 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.9609, allocations: 0 / 1.342 GB, free: 15.03 MB / 1.061 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.0004892/0.9614, allocations: 360.2 kB / 1.342 GB, free: 14.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.9614, allocations: 10.03 kB / 1.342 GB, free: 14.66 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.501e-05/0.9614, allocations: 6.469 kB / 1.342 GB, free: 14.65 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.181e-05/0.9614, allocations: 31.36 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.9615, allocations: 3.719 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.9616, allocations: 168.5 kB / 1.342 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.9616, allocations: 5.719 kB / 1.342 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.9616, allocations: 2.969 kB / 1.342 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.9619, allocations: 72.56 kB / 1.342 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.9619, allocations: 0 / 1.342 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.9619, allocations: 1.094 kB / 1.342 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.9619, allocations: 5.766 kB / 1.342 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002579/0.9622, allocations: 55.77 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.9626, allocations: 280.1 kB / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.9628, allocations: 65.61 kB / 1.343 GB, free: 14.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.9629, allocations: 32.28 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.9629, allocations: 0 / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.9629, allocations: 36.39 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.9629, allocations: 0 / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004705/0.9634, allocations: 110.6 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.9634, allocations: 59.34 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.695e-05/0.9635, allocations: 109.8 kB / 1.343 GB, free: 13.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.9635, allocations: 30.89 kB / 1.343 GB, free: 13.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.9636, allocations: 82.38 kB / 1.343 GB, free: 13.62 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.9636, allocations: 18.44 kB / 1.343 GB, free: 13.6 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.9636, allocations: 15.73 kB / 1.343 GB, free: 13.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.838e-05/0.9637, allocations: 321.9 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.9638, allocations: 26.52 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.9639, allocations: 22.86 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.9641, allocations: 50.92 kB / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9641, allocations: 0 / 1.344 GB, free: 13.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002479/0.9643, allocations: 84.19 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.9643, allocations: 9.312 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.9643, allocations: 4 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.9644, allocations: 2.672 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.9645, allocations: 10.83 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.9645, allocations: 2.516 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.973e-05/0.9646, allocations: 6.578 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.9646, allocations: 1.812 kB / 1.344 GB, free: 13.19 MB / 1.061 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 5.389e-05/0.9646, allocations: 116.4 kB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.9647, allocations: 10.56 kB / 1.344 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.164e-05/0.9647, allocations: 12.7 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.9647, allocations: 1.781 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.9647, allocations: 0 / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.9647, allocations: 0.5625 kB / 1.344 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.9648, allocations: 178.6 kB / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9648, allocations: 0 / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.641e-05/0.9649, allocations: 13.56 kB / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.9649, allocations: 0 / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.9649, allocations: 2.609 kB / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.9649, allocations: 0 / 1.344 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9649, allocations: 4 kB / 1.344 GB, free: 12.83 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.9652, allocations: 187.8 kB / 1.344 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.9652, allocations: 80.95 kB / 1.344 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.9653, allocations: 0.5625 kB / 1.344 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.825e-05/0.9654, allocations: 5.422 kB / 1.344 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.9654, allocations: 11.78 kB / 1.344 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.9654, allocations: 6.031 kB / 1.344 GB, free: 12.58 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.829e-05/0.9655, allocations: 84.81 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9655, allocations: 1.375 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002409/0.9657, allocations: 6.109 kB / 1.345 GB, free: 12.5 MB / 1.061 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.0004667/0.9662, allocations: 0.7279 MB / 1.345 GB, free: 11.81 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.9665, allocations: 51.89 kB / 1.345 GB, free: 11.8 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9665, allocations: 0 / 1.345 GB, free: 11.8 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.9666, allocations: 34.39 kB / 1.345 GB, free: 11.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.9669, allocations: 15.16 kB / 1.345 GB, free: 11.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.9683, allocations: 1.317 MB / 1.347 GB, free: 10.58 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.9684, allocations: 0.6797 MB / 1.347 GB, free: 9.883 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.265e-05/0.9685, allocations: 4.859 kB / 1.347 GB, free: 9.883 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.333e-05/0.9685, allocations: 24.98 kB / 1.347 GB, free: 9.863 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.9685, allocations: 1.438 kB / 1.347 GB, free: 9.863 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.987, allocations: 1.866 MB / 1.349 GB, free: 9.484 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.414/9.401, allocations: 17.56 kB / 1.349 GB, free: 9.477 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.039738844963722] Failed to read output from testmodel.py, exit status != 0: 9.53035810997244 9.554162049 8.58922689 Calling exit ...