Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.00133/0.00133, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001393/0.001393, allocations: 216.3 kB / 23.04 MB, free: 5.078 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.178/3.178, allocations: 0.49 GB / 0.7959 GB, free: 33.31 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.RealToInteger,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",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.00197/0.00197, allocations: 65.69 kB / 1.155 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3385, allocations: 176.1 MB / 1.327 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001792/0.3403, allocations: 0.628 MB / 1.327 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.3413, allocations: 0.867 MB / 1.328 GB, free: 496 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.3414, allocations: 3.938 kB / 1.328 GB, free: 492 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.257e-05/0.3414, allocations: 3.938 kB / 1.328 GB, free: 488 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-05/0.3414, allocations: 3.938 kB / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.3416, allocations: 11.98 kB / 1.328 GB, free: 472 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.411e-05/0.3416, allocations: 27.92 kB / 1.328 GB, free: 444 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.923e-05/0.3417, allocations: 11.94 kB / 1.328 GB, free: 432 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.505e-05/0.3418, allocations: 8 kB / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.312e-05/0.3418, allocations: 19.91 kB / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.3418, allocations: 4 kB / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-06/0.3418, allocations: 0 / 1.328 GB, free: 400 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.3419, allocations: 4 kB / 1.328 GB, free: 396 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.3419, allocations: 11.92 kB / 1.328 GB, free: 384 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 7.419e-05/0.342, allocations: 24.19 kB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.342, allocations: 4 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.052e-06/0.342, allocations: 0 / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.207e-06/0.342, allocations: 4 kB / 1.328 GB, free: 352 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004931/0.3425, allocations: 259.7 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.3425, allocations: 12.03 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.069e-05/0.3425, allocations: 192 / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.3426, allocations: 38.67 kB / 1.329 GB, free: 0 / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.3426, allocations: 0.9375 kB / 1.329 GB, free: 0 / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.3428, allocations: 114.5 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.3428, allocations: 384 / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.3428, allocations: 4.375 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.3431, allocations: 53.98 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3431, allocations: 4 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3431, allocations: 0 / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3431, allocations: 0 / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.3433, allocations: 39.95 kB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.3437, allocations: 231.9 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.3439, allocations: 38.55 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.344, allocations: 28.89 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.344, allocations: 0 / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.344, allocations: 30.56 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.344, allocations: 0 / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004188/0.3445, allocations: 93.58 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.3445, allocations: 51.41 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3446, allocations: 101.8 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.3446, allocations: 25.7 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.3447, allocations: 80.14 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.3447, allocations: 11.95 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.3448, allocations: 13.84 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.3449, allocations: 314.8 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.255e-05/0.345, allocations: 23.92 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.862e-05/0.3451, allocations: 11.98 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.3453, allocations: 52.81 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3453, allocations: 0 / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002094/0.3455, allocations: 69.59 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3455, allocations: 8 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3455, allocations: 4 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3455, allocations: 0 / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.3456, allocations: 11.98 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3457, allocations: 0 / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.302e-05/0.3457, allocations: 12.02 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.3457, allocations: 0 / 1.33 GB, free: 14.44 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001121/0.3458, allocations: 118.2 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.3459, allocations: 4 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.3459, allocations: 3.312 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3459, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3459, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3459, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.3461, allocations: 140.6 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3461, allocations: 8 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.3462, allocations: 11.98 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.3462, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3462, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.3462, allocations: 4 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3462, allocations: 0 / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.3465, allocations: 171.4 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-06/0.3465, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.3465, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.033e-05/0.3466, allocations: 7.984 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.3467, allocations: 7.984 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.3467, allocations: 0 / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.682e-05/0.3467, allocations: 83.28 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3467, allocations: 0 / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002127/0.347, allocations: 4 kB / 1.33 GB, free: 13.82 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005837/0.3475, allocations: 0.7007 MB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.3478, allocations: 47.98 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3478, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.287e-05/0.3479, allocations: 15.98 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.3482, allocations: 11.94 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004725/0.3487, allocations: 135.3 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.349, allocations: 0.6767 MB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.052e-05/0.349, allocations: 8.125 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/0.3491, allocations: 15.42 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.3491, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.3703, allocations: 1.582 MB / 1.334 GB, free: 10.68 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.79, allocations: 8.656 kB / 1.334 GB, free: 10.68 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.498777238011826] Failed to read output from testmodel.py, exit status != 0: 11.951291556004435 11.969340109 11.624154172 Calling exit ...