Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001257/0.001257, allocations: 100.3 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.001413/0.001413, allocations: 220.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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.819/2.819, allocations: 476.8 MB / 0.7715 GB, free: 3.891 MB / 0.6231 GB " [Timeout remaining time 177] 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.RealToInteger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_11_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.002016/0.002016, allocations: 61.17 kB / 1.118 GB, free: 39.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3353, allocations: 170 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002153/0.3375, allocations: 0.6133 MB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.3387, allocations: 0.8472 MB / 1.285 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.094e-05/0.3387, allocations: 0 / 1.285 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.052e-05/0.3387, allocations: 0 / 1.285 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.544e-05/0.3388, allocations: 7.875 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.339, allocations: 19.92 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.993e-05/0.3391, allocations: 23.98 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.3392, allocations: 7.984 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.426e-05/0.3393, allocations: 15.94 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.699e-05/0.3393, allocations: 11.98 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.3393, allocations: 0 / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.3393, allocations: 4 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.3394, allocations: 7.938 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.952e-05/0.3394, allocations: 19.91 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.938e-05/0.3395, allocations: 23.42 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3395, allocations: 0 / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3395, allocations: 0 / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.3395, allocations: 0 / 1.286 GB, free: 9.086 MB / 0.9825 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.0004891/0.34, allocations: 267.8 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.34, allocations: 8.031 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.476e-05/0.3401, allocations: 192 / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.3401, allocations: 34.75 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.145e-05/0.3401, allocations: 0.9375 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.3402, allocations: 118.5 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.3402, allocations: 384 / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.3403, allocations: 384 / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.3404, allocations: 53.98 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3405, allocations: 0 / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.3405, allocations: 7.938 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.3405, allocations: 4 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.3407, allocations: 35.95 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.3411, allocations: 220 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.3412, allocations: 38.55 kB / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.468e-05/0.3413, allocations: 24.91 kB / 1.286 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.3413, allocations: 4 kB / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.3414, allocations: 34.5 kB / 1.286 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.3414, allocations: 0 / 1.286 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003836/0.3417, allocations: 85.64 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.3418, allocations: 51.41 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.353e-05/0.3419, allocations: 101.8 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.3419, allocations: 25.7 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.3419, allocations: 92.2 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.342, allocations: 7.953 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.763e-05/0.342, allocations: 17.7 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3421, allocations: 314.8 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/0.3422, allocations: 11.98 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.113e-05/0.3423, allocations: 31.84 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.3425, allocations: 44.77 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3425, allocations: 4.062 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001944/0.3427, allocations: 65.66 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3427, allocations: 6.188 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3427, allocations: 0 / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3427, allocations: 0 / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.3428, allocations: 11.98 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3428, allocations: 0 / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.481e-05/0.3429, allocations: 11.98 kB / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.3429, allocations: 4.031 kB / 1.287 GB, free: 7.188 MB / 0.9825 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.0001029/0.343, allocations: 113.8 kB / 1.287 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.343, allocations: 3.938 kB / 1.287 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.802e-05/0.343, allocations: 3.312 kB / 1.287 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.343, allocations: 4 kB / 1.287 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.343, allocations: 0 / 1.287 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.343, allocations: 0 / 1.287 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.3432, allocations: 140.6 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3432, allocations: 0 / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.893e-05/0.3433, allocations: 11.98 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3433, allocations: 4 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.3433, allocations: 0 / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3433, allocations: 0 / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3433, allocations: 0 / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.3436, allocations: 175.6 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-06/0.3436, allocations: 3.984 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.3436, allocations: 0 / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.05e-05/0.3437, allocations: 4 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.3437, allocations: 12.02 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.3437, allocations: 0 / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.117e-05/0.3438, allocations: 91.2 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3438, allocations: 3.938 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002132/0.344, allocations: 4 kB / 1.288 GB, free: 6.559 MB / 0.9825 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.0005766/0.3446, allocations: 0.6929 MB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.3448, allocations: 43.98 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3448, allocations: 0 / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.095e-05/0.3449, allocations: 23.92 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.3452, allocations: 10.05 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00046/0.3457, allocations: 131.2 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.158e-05/0.3457, allocations: 63.34 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.859e-05/0.3458, allocations: 4.125 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.3458, allocations: 15.44 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3458, allocations: 0 / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.3691, allocations: 1.637 MB / 1.29 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.8, allocations: 6.953 kB / 1.29 GB, free: 4.004 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.456506990012713] Failed to read output from testmodel.py, exit status != 0: 12.497129256022163 11.976897509 11.634240374 Calling exit ...