Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001199/0.001198, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001316/0.001315, allocations: 198.5 kB / 16.14 MB, free: 6.688 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.504/1.504, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.955/2.955, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001292, allocations: 66.41 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.4389, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002074/0.441, allocations: 0.6802 MB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009868/0.442, allocations: 0.8235 MB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.4421, allocations: 0 / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.4422, allocations: 7.938 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.076e-05/0.4422, allocations: 0 / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.4424, allocations: 8 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.812e-05/0.4425, allocations: 31.86 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.4426, allocations: 8 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.446e-05/0.4427, allocations: 11.97 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.251e-05/0.4428, allocations: 15.92 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.4428, allocations: 0 / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.4428, allocations: 4 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.4428, allocations: 0 / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.044e-05/0.4429, allocations: 15.92 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.937e-05/0.443, allocations: 19.95 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.443, allocations: 4 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.274e-06/0.443, allocations: 0 / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.443, allocations: 0 / 1.069 GB, free: 9.242 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.0005901/0.4436, allocations: 341.4 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.4437, allocations: 12.03 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.4437, allocations: 0.9375 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.4439, allocations: 168.3 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.4439, allocations: 12.31 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.4439, allocations: 384 / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.4441, allocations: 54.23 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4441, allocations: 192 / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.4442, allocations: 3.938 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.4442, allocations: 0 / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.4444, allocations: 39.95 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.4448, allocations: 245 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.445, allocations: 50.44 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.4451, allocations: 28.89 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.4451, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.4452, allocations: 30.56 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.4452, allocations: 0 / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003996/0.4456, allocations: 89.55 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.4456, allocations: 55.34 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.123e-05/0.4457, allocations: 109.8 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.4458, allocations: 25.7 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.4458, allocations: 80.14 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.4458, allocations: 4 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.4459, allocations: 17.84 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.446, allocations: 318.8 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.4461, allocations: 19.98 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.077e-05/0.4462, allocations: 11.98 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.4464, allocations: 48.88 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4464, allocations: 0 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002199/0.4466, allocations: 77.44 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.4466, allocations: 4 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.4466, allocations: 0 / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.4467, allocations: 4 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.4468, allocations: 7.984 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.4468, allocations: 3.984 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.419e-05/0.4469, allocations: 8.031 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.4469, allocations: 7.922 kB / 1.071 GB, free: 7.176 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 8.924e-05/0.447, allocations: 117.8 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.447, allocations: 0 / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.926e-05/0.447, allocations: 3.125 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.447, allocations: 4 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4471, allocations: 0 / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.4471, allocations: 0 / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.4472, allocations: 161.6 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4473, allocations: 4 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.621e-05/0.4473, allocations: 11.98 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.4473, allocations: 0 / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.4474, allocations: 4 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4474, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4474, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.4476, allocations: 167.4 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.4477, allocations: 89.02 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.4477, allocations: 4 kB / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.4478, allocations: 7.984 kB / 1.071 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.4478, allocations: 3.984 kB / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.4479, allocations: 4 kB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.245e-05/0.4479, allocations: 79.28 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4479, allocations: 0 / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002184/0.4481, allocations: 4 kB / 1.072 GB, free: 6.43 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.0001177/0.4483, allocations: 103.3 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.4485, allocations: 35.95 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4485, allocations: 0 / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.4486, allocations: 31.91 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.4489, allocations: 4.062 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.4493, allocations: 115.1 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.4496, allocations: 0.677 MB / 1.072 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.524e-05/0.4496, allocations: 4 kB / 1.072 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.4496, allocations: 11.44 kB / 1.072 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.4496, allocations: 0 / 1.072 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of Templates: time 0.002893/0.4525, allocations: 0.5047 MB / 1.073 GB, free: 4.883 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)