Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008914/0.008914, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.989/2.989, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004519/0.0004521, allocations: 16.12 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4407, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001364/0.4422, allocations: 353.5 kB / 1.074 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.4435, allocations: 0.8313 MB / 1.075 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.983e-05/0.4436, allocations: 4 kB / 1.075 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.4436, allocations: 0 / 1.075 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.377e-05/0.4437, allocations: 0 / 1.075 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.4439, allocations: 15.92 kB / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.023e-05/0.444, allocations: 20 kB / 1.075 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.4441, allocations: 3.984 kB / 1.075 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.089e-05/0.4442, allocations: 7.938 kB / 1.075 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.619e-05/0.4443, allocations: 15.97 kB / 1.075 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.4443, allocations: 4 kB / 1.075 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.351e-05/0.4444, allocations: 7.938 kB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.4444, allocations: 3.938 kB / 1.075 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.972e-05/0.4445, allocations: 41.62 kB / 1.075 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.93e-05/0.4446, allocations: 15.97 kB / 1.075 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4446, allocations: 0 / 1.075 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4446, allocations: 0 / 1.075 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.4446, allocations: 0 / 1.075 GB, free: 6.211 MB / 0.8262 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.000545/0.4452, allocations: 337.4 kB / 1.076 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.4452, allocations: 12.03 kB / 1.076 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.4452, allocations: 4.844 kB / 1.076 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.4454, allocations: 168.3 kB / 1.076 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.4454, allocations: 4.375 kB / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.4454, allocations: 4.375 kB / 1.076 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.4457, allocations: 54.23 kB / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.4457, allocations: 4.188 kB / 1.076 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.4457, allocations: 3.938 kB / 1.076 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.4457, allocations: 0 / 1.076 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.4459, allocations: 55.83 kB / 1.076 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.4463, allocations: 257 kB / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.4465, allocations: 50.5 kB / 1.076 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.4466, allocations: 24.89 kB / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.4467, allocations: 8 kB / 1.076 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.4467, allocations: 30.56 kB / 1.076 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.835e-06/0.4467, allocations: 3.984 kB / 1.076 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004169/0.4471, allocations: 105.7 kB / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.4472, allocations: 55.41 kB / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.4473, allocations: 101.8 kB / 1.077 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.4473, allocations: 25.7 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.4474, allocations: 92.05 kB / 1.077 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.4474, allocations: 0 / 1.077 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.4475, allocations: 9.719 kB / 1.077 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002086/0.4477, allocations: 318.9 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.962e-05/0.4478, allocations: 23.98 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.736e-05/0.4479, allocations: 23.98 kB / 1.077 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.4481, allocations: 56.81 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4481, allocations: 0 / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002378/0.4484, allocations: 89.5 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.4484, allocations: 4 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.4484, allocations: 0 / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.4484, allocations: 0 / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.4485, allocations: 11.98 kB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4485, allocations: 0 / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.241e-05/0.4486, allocations: 12 kB / 1.077 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.4486, allocations: 8.016 kB / 1.077 GB, free: 4.066 MB / 0.8262 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.0001052/0.4487, allocations: 113.8 kB / 1.077 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.4488, allocations: 0 / 1.077 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.795e-05/0.4488, allocations: 3.125 kB / 1.077 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.4488, allocations: 0 / 1.077 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.4488, allocations: 0 / 1.077 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4488, allocations: 0 / 1.077 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.449, allocations: 169.6 kB / 1.078 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.449, allocations: 0 / 1.078 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.855e-05/0.4491, allocations: 19.92 kB / 1.078 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.4491, allocations: 3.938 kB / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.4491, allocations: 0 / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4492, allocations: 0 / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4492, allocations: 0 / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.4495, allocations: 179.5 kB / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-05/0.4496, allocations: 77.11 kB / 1.078 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.4496, allocations: 4 kB / 1.078 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.961e-05/0.4497, allocations: 7.984 kB / 1.078 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.948e-05/0.4498, allocations: 7.984 kB / 1.078 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.4498, allocations: 0 / 1.078 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.934e-05/0.4499, allocations: 87.31 kB / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4499, allocations: 0 / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002226/0.4501, allocations: 4 kB / 1.078 GB, free: 3.309 MB / 0.8262 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.0001967/0.4503, allocations: 95.25 kB / 1.078 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002717/0.4506, allocations: 55.89 kB / 1.078 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4506, allocations: 3.938 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.4507, allocations: 31.97 kB / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.451, allocations: 3.938 kB / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003825/0.4514, allocations: 116.7 kB / 1.078 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.4517, allocations: 0.6731 MB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.667e-05/0.4518, allocations: 7.984 kB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.4518, allocations: 7.438 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of SimCode: time 7.32e-07/0.4518, allocations: 0 / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of Templates: time 0.003122/0.455, allocations: 0.5047 MB / 1.079 GB, free: 1.754 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)