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.001316/0.001316, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.875/1.875, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.718/1.718, allocations: 251.7 MB / 0.5092 GB, free: 3.066 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.00183/0.00183, allocations: 71.91 kB / 0.6223 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7069/0.7088, allocations: 104.7 MB / 0.7245 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.003349/0.7122, allocations: 1.321 MB / 0.7258 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005213/0.7127, allocations: 147.3 kB / 0.726 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.7128, allocations: 0 / 0.726 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.381e-05/0.7129, allocations: 0 / 0.726 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.142e-05/0.7129, allocations: 3.938 kB / 0.726 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.7131, allocations: 11.98 kB / 0.726 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.99e-05/0.7132, allocations: 31.92 kB / 0.726 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.7134, allocations: 7.984 kB / 0.726 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.295e-05/0.7134, allocations: 11.94 kB / 0.726 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.09e-05/0.7135, allocations: 11.98 kB / 0.726 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.7135, allocations: 4 kB / 0.726 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.447e-05/0.7136, allocations: 4 kB / 0.726 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.403e-05/0.7136, allocations: 3.938 kB / 0.726 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.783e-05/0.7136, allocations: 11.97 kB / 0.7261 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.7138, allocations: 27.91 kB / 0.7261 GB, free: 11.31 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.7138, allocations: 0 / 0.7261 GB, free: 11.31 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.156e-06/0.7138, allocations: 0 / 0.7261 GB, free: 11.31 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.7138, allocations: 0 / 0.7261 GB, free: 11.31 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.0007395/0.7145, allocations: 341.4 kB / 0.7264 GB, free: 10.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.7146, allocations: 12.03 kB / 0.7264 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.7147, allocations: 0.9375 kB / 0.7264 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.7149, allocations: 172.2 kB / 0.7266 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.7149, allocations: 4.375 kB / 0.7266 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.7149, allocations: 4.375 kB / 0.7266 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.7152, allocations: 54.22 kB / 0.7266 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.7152, allocations: 4.188 kB / 0.7266 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.7152, allocations: 3.938 kB / 0.7267 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.7152, allocations: 3.938 kB / 0.7267 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.7154, allocations: 35.95 kB / 0.7267 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.716, allocations: 252.9 kB / 0.7269 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.7162, allocations: 58.42 kB / 0.727 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.684e-05/0.7163, allocations: 16.91 kB / 0.727 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.7164, allocations: 4 kB / 0.727 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.016e-05/0.7164, allocations: 34.5 kB / 0.727 GB, free: 10.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.7164, allocations: 0 / 0.727 GB, free: 10.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004573/0.7169, allocations: 89.58 kB / 0.7271 GB, free: 10.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.717, allocations: 55.41 kB / 0.7272 GB, free: 10 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.7171, allocations: 97.84 kB / 0.7273 GB, free: 9.898 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.7172, allocations: 29.7 kB / 0.7273 GB, free: 9.863 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/0.7173, allocations: 84.14 kB / 0.7274 GB, free: 9.777 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.7173, allocations: 3.906 kB / 0.7274 GB, free: 9.773 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.7174, allocations: 17.7 kB / 0.7274 GB, free: 9.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.7175, allocations: 319 kB / 0.7277 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.762e-05/0.7176, allocations: 11.98 kB / 0.7277 GB, free: 9.418 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.034e-05/0.7177, allocations: 19.98 kB / 0.7277 GB, free: 9.398 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.7179, allocations: 40.81 kB / 0.7278 GB, free: 9.355 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7179, allocations: 0 / 0.7278 GB, free: 9.355 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002099/0.7182, allocations: 81.59 kB / 0.7279 GB, free: 9.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.7182, allocations: 4 kB / 0.7279 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.7182, allocations: 0 / 0.7279 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.7182, allocations: 0 / 0.7279 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.7183, allocations: 11.98 kB / 0.7279 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.7183, allocations: 0 / 0.7279 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.601e-05/0.7184, allocations: 7.984 kB / 0.7279 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.7184, allocations: 0 / 0.7279 GB, free: 9.246 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 0.0001035/0.7185, allocations: 117.8 kB / 0.728 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.7186, allocations: 3.906 kB / 0.728 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.7186, allocations: 7.125 kB / 0.728 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.7186, allocations: 0 / 0.728 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.7186, allocations: 4 kB / 0.728 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.7186, allocations: 0 / 0.728 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.7188, allocations: 165.6 kB / 0.7282 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7188, allocations: 0 / 0.7282 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.085e-05/0.7189, allocations: 11.98 kB / 0.7282 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.7189, allocations: 4 kB / 0.7282 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.7189, allocations: 0 / 0.7282 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.7189, allocations: 0 / 0.7282 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.7189, allocations: 0 / 0.7282 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.7192, allocations: 167.4 kB / 0.7283 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.7193, allocations: 84.98 kB / 0.7284 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.7193, allocations: 12.02 kB / 0.7284 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.7194, allocations: 4 kB / 0.7284 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.7194, allocations: 7.984 kB / 0.7284 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-06/0.7194, allocations: 0 / 0.7284 GB, free: 8.574 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.32e-05/0.7195, allocations: 79.47 kB / 0.7285 GB, free: 8.496 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7195, allocations: 0 / 0.7285 GB, free: 8.496 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002428/0.7197, allocations: 4 kB / 0.7285 GB, free: 8.492 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.0001597/0.7199, allocations: 103.2 kB / 0.7286 GB, free: 8.379 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.7202, allocations: 43.91 kB / 0.7287 GB, free: 8.336 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7202, allocations: 0 / 0.7287 GB, free: 8.336 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.622e-05/0.7203, allocations: 27.97 kB / 0.7287 GB, free: 8.309 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.7206, allocations: 8.078 kB / 0.7287 GB, free: 8.301 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.721, allocations: 113.5 kB / 0.7288 GB, free: 8.164 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.7214, allocations: 0.6768 MB / 0.7295 GB, free: 7.461 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.311e-05/0.7214, allocations: 0 / 0.7295 GB, free: 7.461 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.7214, allocations: 11.44 kB / 0.7295 GB, free: 7.449 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.7215, allocations: 0 / 0.7295 GB, free: 7.449 MB / 0.545 GB Notification: Performance of Templates: time 0.003237/0.7247, allocations: 0.6157 MB / 0.7301 GB, free: 6.844 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)