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.001762/0.001762, allocations: 116.9 kB / 17.17 MB, free: 5.906 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.001938/0.001938, allocations: 209.2 kB / 20.13 MB, free: 2.969 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.53/1.53, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.879/2.879, allocations: 476.7 MB / 0.7678 GB, free: 9.336 MB / 0.6075 GB " [Timeout remaining time 176] 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.002042/0.002042, allocations: 67.89 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9254/0.9275, allocations: 169.9 MB / 1.279 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001944/0.9294, allocations: 0.6625 MB / 1.28 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.9307, allocations: 0.8635 MB / 1.28 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.483e-05/0.9307, allocations: 1.344 kB / 1.28 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.548e-05/0.9307, allocations: 4.594 kB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.827e-05/0.9308, allocations: 5.859 kB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001521/0.931, allocations: 22.23 kB / 1.28 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.876e-05/0.9311, allocations: 48.2 kB / 1.28 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.9312, allocations: 14.3 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.63e-05/0.9313, allocations: 22.97 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.785e-05/0.9314, allocations: 24.34 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.9314, allocations: 4.219 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.9314, allocations: 4.469 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.9314, allocations: 11.73 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.9315, allocations: 17.53 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.9316, allocations: 44.08 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.9316, allocations: 8.641 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.484e-06/0.9316, allocations: 1.281 kB / 1.281 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.9316, allocations: 4 kB / 1.281 GB, free: 10.51 MB / 0.9981 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.0005833/0.9322, allocations: 350.6 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.9322, allocations: 10.56 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.45e-05/0.9322, allocations: 1.344 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.923e-05/0.9323, allocations: 40.58 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.9323, allocations: 7.391 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.9325, allocations: 164.2 kB / 1.281 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.9325, allocations: 6.406 kB / 1.281 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.9325, allocations: 6.562 kB / 1.281 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.9327, allocations: 68.7 kB / 1.281 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.9327, allocations: 0 / 1.281 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.9328, allocations: 5.125 kB / 1.281 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.9328, allocations: 1.375 kB / 1.281 GB, free: 9.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.933, allocations: 55.45 kB / 1.281 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.9335, allocations: 293.5 kB / 1.282 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.9337, allocations: 56.66 kB / 1.282 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.9339, allocations: 35.97 kB / 1.282 GB, free: 9.477 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.9339, allocations: 5.188 kB / 1.282 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.9339, allocations: 31.98 kB / 1.282 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.9339, allocations: 4 kB / 1.282 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004754/0.9344, allocations: 105.8 kB / 1.282 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.9344, allocations: 52.62 kB / 1.282 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.9345, allocations: 104.9 kB / 1.282 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.9346, allocations: 27.05 kB / 1.282 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.9346, allocations: 90.25 kB / 1.282 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.9346, allocations: 18.39 kB / 1.282 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.9347, allocations: 19.92 kB / 1.282 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.9348, allocations: 317.3 kB / 1.282 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.935, allocations: 26.84 kB / 1.282 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.9351, allocations: 23.08 kB / 1.282 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/0.9353, allocations: 54.31 kB / 1.283 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.9353, allocations: 4 kB / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002933/0.9356, allocations: 80.2 kB / 1.283 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.9356, allocations: 8.062 kB / 1.283 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.9356, allocations: 0 / 1.283 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.9356, allocations: 1.453 kB / 1.283 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.9358, allocations: 12.88 kB / 1.283 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.9358, allocations: 4.641 kB / 1.283 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.915e-05/0.9359, allocations: 10.61 kB / 1.283 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.9359, allocations: 9.828 kB / 1.283 GB, free: 8.656 MB / 0.9981 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.487e-05/0.936, allocations: 113.1 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.936, allocations: 5.547 kB / 1.283 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.936, allocations: 10.06 kB / 1.283 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.936, allocations: 0.7812 kB / 1.283 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.936, allocations: 1.297 kB / 1.283 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.936, allocations: 0 / 1.283 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.9363, allocations: 177.2 kB / 1.283 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.9363, allocations: 5.438 kB / 1.283 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.9364, allocations: 12.8 kB / 1.283 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.9364, allocations: 0.5625 kB / 1.283 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.9364, allocations: 5.703 kB / 1.283 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.9364, allocations: 4.719 kB / 1.283 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.9364, allocations: 0.6562 kB / 1.283 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.9367, allocations: 192.1 kB / 1.283 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.9368, allocations: 87.25 kB / 1.283 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.9368, allocations: 1.281 kB / 1.283 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.9369, allocations: 6.625 kB / 1.283 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.937, allocations: 10.23 kB / 1.283 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.937, allocations: 2.344 kB / 1.283 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.842e-05/0.9371, allocations: 82.75 kB / 1.283 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9371, allocations: 0 / 1.283 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002327/0.9373, allocations: 10.44 kB / 1.283 GB, free: 7.965 MB / 0.9981 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.0006987/0.938, allocations: 0.7148 MB / 1.284 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002942/0.9383, allocations: 58.52 kB / 1.284 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.9383, allocations: 5.156 kB / 1.284 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.9384, allocations: 29.42 kB / 1.284 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.9388, allocations: 3.266 kB / 1.284 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.9405, allocations: 1.31 MB / 1.285 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.9408, allocations: 0.6887 MB / 1.286 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.373e-05/0.9408, allocations: 3.891 kB / 1.286 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.771e-05/0.9409, allocations: 17.52 kB / 1.286 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.9409, allocations: 0 / 1.286 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.9595, allocations: 1.878 MB / 1.288 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.593/9.552, allocations: 15.17 kB / 1.288 GB, free: 4.93 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.761516897997353] Failed to read output from testmodel.py, exit status != 0: 9.681476213037968 9.709486148 8.772858836 Calling exit ...