Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.0009119/0.000912, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.006018/0.006019, allocations: 169.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.698/1.698, allocations: 252 MB / 0.5105 GB, free: 4.746 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005304/0.0005304, allocations: 12 kB / 0.6249 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6483/0.6489, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001661/0.6506, allocations: 1.062 MB / 0.7298 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003313/0.6509, allocations: 140.4 kB / 0.7299 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.651, allocations: 0 / 0.7299 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.651, allocations: 0 / 0.7299 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.722e-05/0.6511, allocations: 3.938 kB / 0.7299 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.6512, allocations: 11.98 kB / 0.7299 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.355e-05/0.6513, allocations: 27.92 kB / 0.7299 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.6514, allocations: 0 / 0.7299 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.366e-05/0.6515, allocations: 15.92 kB / 0.73 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.128e-05/0.6515, allocations: 7.984 kB / 0.73 GB, free: 10 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.6516, allocations: 8 kB / 0.73 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.607e-06/0.6516, allocations: 0 / 0.73 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.687e-05/0.6516, allocations: 11.92 kB / 0.73 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.6517, allocations: 29.7 kB / 0.73 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.972e-05/0.6517, allocations: 23.89 kB / 0.73 GB, free: 9.926 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.6517, allocations: 0 / 0.73 GB, free: 9.926 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6517, allocations: 0 / 0.73 GB, free: 9.926 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.6518, allocations: 0 / 0.73 GB, free: 9.926 MB / 0.545 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.0004997/0.6523, allocations: 345.5 kB / 0.7304 GB, free: 9.539 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.6523, allocations: 11.97 kB / 0.7304 GB, free: 9.527 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.6523, allocations: 4.938 kB / 0.7304 GB, free: 9.523 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.6525, allocations: 168.3 kB / 0.7305 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.6525, allocations: 384 / 0.7305 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.6525, allocations: 4.375 kB / 0.7305 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.6527, allocations: 58.22 kB / 0.7306 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.6528, allocations: 4.188 kB / 0.7306 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.6528, allocations: 3.938 kB / 0.7306 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.6528, allocations: 0 / 0.7306 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.653, allocations: 43.97 kB / 0.7306 GB, free: 9.203 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.6534, allocations: 260.8 kB / 0.7309 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.6535, allocations: 50.48 kB / 0.7309 GB, free: 8.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.742e-05/0.6536, allocations: 24.91 kB / 0.731 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.6537, allocations: 4 kB / 0.731 GB, free: 8.809 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.6537, allocations: 38.56 kB / 0.731 GB, free: 8.762 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.6537, allocations: 3.938 kB / 0.731 GB, free: 8.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004094/0.6541, allocations: 109.6 kB / 0.7311 GB, free: 8.645 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.6542, allocations: 51.41 kB / 0.7312 GB, free: 8.582 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.6543, allocations: 101.8 kB / 0.7313 GB, free: 8.473 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.6543, allocations: 25.7 kB / 0.7313 GB, free: 8.441 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.6544, allocations: 80.14 kB / 0.7314 GB, free: 8.359 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.6544, allocations: 11.89 kB / 0.7314 GB, free: 8.348 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.6544, allocations: 13.72 kB / 0.7314 GB, free: 8.328 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.6546, allocations: 315 kB / 0.7317 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.315e-05/0.6547, allocations: 19.98 kB / 0.7317 GB, free: 7.992 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-05/0.6548, allocations: 27.97 kB / 0.7317 GB, free: 7.965 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.655, allocations: 48.89 kB / 0.7318 GB, free: 7.914 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.655, allocations: 3.938 kB / 0.7318 GB, free: 7.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002219/0.6552, allocations: 89.53 kB / 0.7319 GB, free: 7.816 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.6552, allocations: 8 kB / 0.7319 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.6552, allocations: 0 / 0.7319 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.6553, allocations: 0 / 0.7319 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.6554, allocations: 11.98 kB / 0.7319 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.6554, allocations: 0 / 0.7319 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.018e-05/0.6555, allocations: 16.02 kB / 0.7319 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.6555, allocations: 0 / 0.7319 GB, free: 7.781 MB / 0.545 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 7.716e-05/0.6556, allocations: 109.8 kB / 0.732 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.6556, allocations: 4 kB / 0.732 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.182e-05/0.6556, allocations: 7.125 kB / 0.732 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.6556, allocations: 0 / 0.732 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.6556, allocations: 0 / 0.732 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.6556, allocations: 0 / 0.732 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.6558, allocations: 169.5 kB / 0.7322 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6558, allocations: 4 kB / 0.7322 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.799e-05/0.6559, allocations: 11.98 kB / 0.7322 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.6559, allocations: 0 / 0.7322 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.6559, allocations: 0 / 0.7322 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.6559, allocations: 0 / 0.7322 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.6559, allocations: 0 / 0.7322 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.6562, allocations: 183.4 kB / 0.7324 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.6562, allocations: 81.09 kB / 0.7324 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.6563, allocations: 3.938 kB / 0.7325 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.049e-05/0.6564, allocations: 8 kB / 0.7325 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.6564, allocations: 11.98 kB / 0.7325 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.6564, allocations: 4.031 kB / 0.7325 GB, free: 7.102 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.725e-05/0.6565, allocations: 79.28 kB / 0.7325 GB, free: 7.023 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6565, allocations: 0 / 0.7325 GB, free: 7.023 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002036/0.6567, allocations: 4 kB / 0.7326 GB, free: 7.02 MB / 0.545 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.000133/0.6568, allocations: 99.23 kB / 0.7326 GB, free: 6.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.657, allocations: 55.91 kB / 0.7327 GB, free: 6.855 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6571, allocations: 0 / 0.7327 GB, free: 6.855 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.6572, allocations: 31.97 kB / 0.7327 GB, free: 6.824 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.6575, allocations: 9.375 kB / 0.7327 GB, free: 6.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.6578, allocations: 112.8 kB / 0.7328 GB, free: 6.688 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.6581, allocations: 0.677 MB / 0.7335 GB, free: 5.984 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.438e-05/0.6581, allocations: 4 kB / 0.7335 GB, free: 5.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.6581, allocations: 7.438 kB / 0.7335 GB, free: 5.973 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.6582, allocations: 3.938 kB / 0.7335 GB, free: 5.969 MB / 0.545 GB Notification: Performance of Templates: time 0.002555/0.6607, allocations: 0.5048 MB / 0.734 GB, free: 5.469 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) Environment - environmentSimulation: