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.001147/0.001147, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0014/0.0014, allocations: 192.9 kB / 16.13 MB, free: 6.656 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.812/1.812, allocations: 205.1 MB / 222 MB, free: 4.723 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.649/1.649, allocations: 251.7 MB / 0.5088 GB, free: 3.293 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.001361/0.001361, allocations: 67.91 kB / 0.6216 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6995/0.7009, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.003133/0.7041, allocations: 1.389 MB / 0.7252 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003396/0.7044, allocations: 140.4 kB / 0.7253 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.7045, allocations: 4 kB / 0.7253 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.7045, allocations: 0 / 0.7253 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.031e-05/0.7046, allocations: 3.938 kB / 0.7253 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.7047, allocations: 15.98 kB / 0.7253 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.721e-05/0.7048, allocations: 23.97 kB / 0.7254 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.7049, allocations: 4 kB / 0.7254 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.314e-05/0.705, allocations: 15.88 kB / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.621e-05/0.705, allocations: 7.984 kB / 0.7254 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.7051, allocations: 4 kB / 0.7254 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.7051, allocations: 0 / 0.7254 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.7051, allocations: 11.92 kB / 0.7254 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.7051, allocations: 7.984 kB / 0.7254 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.995e-05/0.7052, allocations: 19.91 kB / 0.7254 GB, free: 11.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7052, allocations: 4 kB / 0.7254 GB, free: 11.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.82e-07/0.7052, allocations: 0 / 0.7254 GB, free: 11.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.7052, allocations: 0 / 0.7254 GB, free: 11.48 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.0005083/0.7058, allocations: 341.5 kB / 0.7258 GB, free: 11.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.7058, allocations: 15.97 kB / 0.7258 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.7058, allocations: 0.9375 kB / 0.7258 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.706, allocations: 168.3 kB / 0.7259 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.706, allocations: 4.375 kB / 0.7259 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.706, allocations: 4.375 kB / 0.7259 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.7062, allocations: 54.22 kB / 0.726 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.7062, allocations: 192 / 0.726 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.7063, allocations: 7.875 kB / 0.726 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.7063, allocations: 0 / 0.726 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.7064, allocations: 35.95 kB / 0.726 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.7068, allocations: 260.9 kB / 0.7263 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.707, allocations: 42.48 kB / 0.7263 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.822e-05/0.7071, allocations: 24.84 kB / 0.7263 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.7071, allocations: 0 / 0.7263 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.7071, allocations: 38.5 kB / 0.7264 GB, free: 10.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.7071, allocations: 4 kB / 0.7264 GB, free: 10.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003545/0.7075, allocations: 81.64 kB / 0.7265 GB, free: 10.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.7075, allocations: 55.39 kB / 0.7265 GB, free: 10.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.024e-05/0.7076, allocations: 97.86 kB / 0.7266 GB, free: 10.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.7076, allocations: 25.7 kB / 0.7266 GB, free: 10.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.7077, allocations: 84.14 kB / 0.7267 GB, free: 9.961 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.7077, allocations: 8.031 kB / 0.7267 GB, free: 9.953 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.7078, allocations: 17.7 kB / 0.7267 GB, free: 9.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7079, allocations: 314.8 kB / 0.727 GB, free: 9.613 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.708, allocations: 15.98 kB / 0.7271 GB, free: 9.598 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.589e-05/0.7081, allocations: 23.91 kB / 0.7271 GB, free: 9.574 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.7083, allocations: 40.89 kB / 0.7271 GB, free: 9.531 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7083, allocations: 0 / 0.7271 GB, free: 9.531 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001918/0.7085, allocations: 73.59 kB / 0.7272 GB, free: 9.453 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.7085, allocations: 5.875 kB / 0.7272 GB, free: 9.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.7085, allocations: 4 kB / 0.7272 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.7085, allocations: 0 / 0.7272 GB, free: 9.445 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.7086, allocations: 11.98 kB / 0.7272 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.7086, allocations: 0 / 0.7272 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.335e-05/0.7087, allocations: 12.02 kB / 0.7272 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.7087, allocations: 4 kB / 0.7272 GB, free: 9.418 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 8.199e-05/0.7088, allocations: 109.8 kB / 0.7273 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.7088, allocations: 7.844 kB / 0.7273 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.7089, allocations: 11.12 kB / 0.7273 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.7089, allocations: 0 / 0.7273 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7089, allocations: 0 / 0.7273 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.7089, allocations: 3.984 kB / 0.7273 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.7091, allocations: 165.5 kB / 0.7275 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.7091, allocations: 0 / 0.7275 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.749e-05/0.7092, allocations: 11.98 kB / 0.7275 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.7092, allocations: 0 / 0.7275 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.7092, allocations: 0 / 0.7275 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.7092, allocations: 0 / 0.7275 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.7092, allocations: 3.938 kB / 0.7275 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.7094, allocations: 167.5 kB / 0.7277 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.7095, allocations: 85.09 kB / 0.7278 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.7095, allocations: 0 / 0.7278 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.82e-05/0.7096, allocations: 4 kB / 0.7278 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.7096, allocations: 7.984 kB / 0.7278 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.7097, allocations: 4 kB / 0.7278 GB, free: 8.754 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.792e-05/0.7097, allocations: 87.39 kB / 0.7279 GB, free: 8.668 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7097, allocations: 0 / 0.7279 GB, free: 8.668 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002038/0.7099, allocations: 8.031 kB / 0.7279 GB, free: 8.66 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.0001186/0.71, allocations: 99.23 kB / 0.728 GB, free: 8.551 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.7103, allocations: 39.95 kB / 0.728 GB, free: 8.512 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7103, allocations: 4 kB / 0.728 GB, free: 8.508 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.534e-05/0.7104, allocations: 15.98 kB / 0.728 GB, free: 8.492 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.7107, allocations: 12.06 kB / 0.728 GB, free: 8.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.711, allocations: 115.2 kB / 0.7281 GB, free: 8.344 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.7113, allocations: 0.6809 MB / 0.7288 GB, free: 7.637 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.248e-05/0.7113, allocations: 0 / 0.7288 GB, free: 7.637 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.7114, allocations: 11.44 kB / 0.7288 GB, free: 7.625 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.7114, allocations: 4 kB / 0.7288 GB, free: 7.621 MB / 0.545 GB Notification: Performance of Templates: time 0.00252/0.7139, allocations: 0.504 MB / 0.7293 GB, free: 7.117 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (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)