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.001728/0.001728, 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.002121/0.002121, allocations: 217.2 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.245/3.245, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 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.002097/0.002097, allocations: 61.78 kB / 1.17 GB, free: 19.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3364, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002005/0.3384, allocations: 0.6464 MB / 1.346 GB, free: 15.32 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.3395, allocations: 0.8591 MB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.232e-05/0.3395, allocations: 0 / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.281e-05/0.3396, allocations: 7.938 kB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.615e-05/0.3397, allocations: 7.938 kB / 1.347 GB, free: 14.44 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.3398, allocations: 19.97 kB / 1.347 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.646e-05/0.3399, allocations: 43.91 kB / 1.347 GB, free: 14.38 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.34, allocations: 15.98 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.87e-05/0.3401, allocations: 19.92 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.599e-05/0.3401, allocations: 31.84 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.3402, allocations: 4 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.3402, allocations: 4 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.3402, allocations: 11.92 kB / 1.347 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.886e-05/0.3402, allocations: 11.94 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.3403, allocations: 56 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3403, allocations: 0 / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3403, allocations: 0 / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.3403, allocations: 4 kB / 1.347 GB, free: 14.22 MB / 1.045 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.0005055/0.3408, allocations: 278.2 kB / 1.347 GB, free: 13.91 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3409, allocations: 12.03 kB / 1.347 GB, free: 13.9 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.329e-05/0.3409, allocations: 192 / 1.347 GB, free: 13.9 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.486e-05/0.3409, allocations: 38.75 kB / 1.347 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.341, allocations: 4.938 kB / 1.347 GB, free: 13.85 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.3411, allocations: 110.5 kB / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3411, allocations: 384 / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.3411, allocations: 8.312 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.3413, allocations: 69.97 kB / 1.347 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3413, allocations: 0 / 1.347 GB, free: 13.64 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.3414, allocations: 15.92 kB / 1.347 GB, free: 13.62 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3414, allocations: 0 / 1.347 GB, free: 13.62 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.3416, allocations: 43.95 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.342, allocations: 243.9 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.3423, allocations: 70.58 kB / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.3424, allocations: 28.89 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.3425, allocations: 3.984 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.3425, allocations: 34.56 kB / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.823e-06/0.3425, allocations: 0 / 1.348 GB, free: 13.14 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0006423/0.3431, allocations: 109.5 kB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.3432, allocations: 55.41 kB / 1.348 GB, free: 12.96 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.22e-05/0.3433, allocations: 109.8 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.3433, allocations: 29.7 kB / 1.348 GB, free: 12.81 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.3433, allocations: 84.14 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.3434, allocations: 15.91 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.3434, allocations: 17.7 kB / 1.348 GB, free: 12.68 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3435, allocations: 318.8 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.3437, allocations: 23.97 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.3438, allocations: 19.98 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.344, allocations: 57.08 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.344, allocations: 4 kB / 1.349 GB, free: 12.26 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003819/0.3444, allocations: 89.58 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3444, allocations: 4 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3444, allocations: 0 / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3445, allocations: 0 / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.3446, allocations: 11.98 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3446, allocations: 4 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.528e-05/0.3447, allocations: 11.94 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.3447, allocations: 7.938 kB / 1.349 GB, free: 12.12 MB / 1.045 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.0001229/0.3448, allocations: 117.8 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.3449, allocations: 0 / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.3449, allocations: 11.98 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3449, allocations: 0 / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3449, allocations: 7.938 kB / 1.349 GB, free: 11.97 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3449, allocations: 0 / 1.349 GB, free: 11.97 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.3451, allocations: 136.9 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3451, allocations: 4 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.3452, allocations: 19.98 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3452, allocations: 4 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3453, allocations: 3.984 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3453, allocations: 0 / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3453, allocations: 3.938 kB / 1.349 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.3457, allocations: 183.4 kB / 1.349 GB, free: 11.57 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.3457, allocations: 4 kB / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.3457, allocations: 0 / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.3458, allocations: 7.984 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.587e-05/0.3459, allocations: 11.98 kB / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.3459, allocations: 4 kB / 1.349 GB, free: 11.54 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.855e-05/0.346, allocations: 87.28 kB / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.346, allocations: 0 / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002672/0.3463, allocations: 4 kB / 1.349 GB, free: 11.45 MB / 1.045 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.0006907/0.347, allocations: 0.724 MB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003534/0.3473, allocations: 51.95 kB / 1.35 GB, free: 10.65 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3473, allocations: 0 / 1.35 GB, free: 10.65 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.3475, allocations: 35.91 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.3478, allocations: 6.188 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.3498, allocations: 1.308 MB / 1.351 GB, free: 9.223 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.95e-05/0.3498, allocations: 67.39 kB / 1.352 GB, free: 9.137 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.175e-05/0.3499, allocations: 7.984 kB / 1.352 GB, free: 9.129 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.453e-05/0.35, allocations: 19.42 kB / 1.352 GB, free: 9.109 MB / 1.045 GB Notification: Performance of SimCode: time 6.51e-07/0.35, allocations: 0 / 1.352 GB, free: 9.109 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.3722, allocations: 2.046 MB / 1.354 GB, free: 7.223 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.73, allocations: 6.062 kB / 1.354 GB, free: 7.219 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.546168149914593] Failed to read output from testmodel.py, exit status != 0: 11.902013638056815 11.930011767 11.584328567 Calling exit ...