Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.348/1.348, allocations: 252 MB / 267.9 MB, free: 10.9 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009678/0.0009677, allocations: 187.1 kB / 327.6 MB, free: 2.141 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.4 MB / 0.5785 GB, free: 20.49 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007366/0.0007367, allocations: 96.19 kB / 0.6831 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 13.62 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1742, allocations: 106.3 MB / 0.9012 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.3195, allocations: 131.4 MB / 1.03 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.3197, allocations: 67.95 kB / 1.03 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00252/0.3222, allocations: 1.166 MB / 1.031 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3223, allocations: 4 kB / 1.031 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3223, allocations: 0 / 1.031 GB, free: 11.12 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003297/0.3226, allocations: 379.1 kB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3227, allocations: 8.031 kB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.3227, allocations: 8.844 kB / 1.031 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.3228, allocations: 192.1 kB / 1.031 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3229, allocations: 4.375 kB / 1.031 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.3229, allocations: 8.375 kB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.323, allocations: 91.89 kB / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.323, allocations: 192 / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.3231, allocations: 15.92 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3231, allocations: 3.938 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.573e-05/0.3232, allocations: 35.98 kB / 1.032 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.3237, allocations: 464.5 kB / 1.032 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.726e-05/0.3238, allocations: 41.2 kB / 1.032 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.477e-05/0.3238, allocations: 13.78 kB / 1.032 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.3238, allocations: 0 / 1.032 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.3238, allocations: 38.59 kB / 1.032 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3239, allocations: 0 / 1.032 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001683/0.324, allocations: 61.48 kB / 1.032 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.3241, allocations: 77.11 kB / 1.032 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.3242, allocations: 174.2 kB / 1.032 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.3243, allocations: 25.7 kB / 1.032 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.3243, allocations: 108 kB / 1.032 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.826e-06/0.3243, allocations: 7.844 kB / 1.032 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.3243, allocations: 4.25 kB / 1.032 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.3245, allocations: 324.4 kB / 1.033 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.018e-05/0.3245, allocations: 8 kB / 1.033 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.341e-05/0.3245, allocations: 17.72 kB / 1.033 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.528e-05/0.3246, allocations: 25.66 kB / 1.033 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3246, allocations: 4 kB / 1.033 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.657e-05/0.3247, allocations: 61.59 kB / 1.033 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3247, allocations: 10.34 kB / 1.033 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3247, allocations: 4.156 kB / 1.033 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3247, allocations: 4 kB / 1.033 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.092e-05/0.3248, allocations: 11.94 kB / 1.033 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3248, allocations: 7.922 kB / 1.033 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.248e-05/0.3249, allocations: 7.906 kB / 1.033 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.3249, allocations: 4 kB / 1.033 GB, free: 8.656 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.992e-05/0.3249, allocations: 117.9 kB / 1.033 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.325, allocations: 7.906 kB / 1.033 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.325, allocations: 16.5 kB / 1.033 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.325, allocations: 0 / 1.033 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.325, allocations: 0 / 1.033 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.325, allocations: 3.984 kB / 1.033 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.3254, allocations: 478.7 kB / 1.034 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3254, allocations: 4.062 kB / 1.034 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.407e-05/0.3255, allocations: 4 kB / 1.034 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3255, allocations: 3.938 kB / 1.034 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.3255, allocations: 3.984 kB / 1.034 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3255, allocations: 0 / 1.034 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.3255, allocations: 4 kB / 1.034 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.039e-05/0.3256, allocations: 81.78 kB / 1.034 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.3256, allocations: 93.03 kB / 1.034 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.3257, allocations: 0 / 1.034 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.474e-05/0.3257, allocations: 4 kB / 1.034 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.3257, allocations: 4 kB / 1.034 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.3257, allocations: 0 / 1.034 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.21e-05/0.3258, allocations: 124.9 kB / 1.034 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3258, allocations: 0 / 1.034 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001911/0.326, allocations: 15.94 kB / 1.034 GB, free: 7.602 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001145/0.3261, allocations: 103.2 kB / 1.034 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.098e-05/0.3262, allocations: 19.94 kB / 1.034 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3262, allocations: 0 / 1.034 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.357e-05/0.3262, allocations: 8 kB / 1.034 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.3264, allocations: 14.17 kB / 1.034 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.3267, allocations: 199.6 kB / 1.034 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.327, allocations: 0.6926 MB / 1.035 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.249e-05/0.327, allocations: 12.42 kB / 1.035 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.3271, allocations: 11.44 kB / 1.035 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of SimCode: time 4.11e-07/0.3271, allocations: 0 / 1.035 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of Templates: time 0.002122/0.3292, allocations: 459.8 kB / 1.035 GB, free: 6.039 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)