Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 104.9 kB / 16.36 MB, free: 6 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.001959/0.001959, allocations: 196.3 kB / 17.3 MB, free: 5.602 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.515/1.515, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.829/1.829, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.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.001299/0.001299, allocations: 67.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2314, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002164/0.2336, allocations: 0.8454 MB / 0.7856 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001241/0.2338, allocations: 43.78 kB / 0.7857 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.552e-05/0.2338, allocations: 0 / 0.7857 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.2338, allocations: 11.88 kB / 0.7857 GB, free: 2.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.184e-05/0.2339, allocations: 11.88 kB / 0.7857 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 5.638e-05/0.234, allocations: 23.91 kB / 0.7857 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.2341, allocations: 67.83 kB / 0.7858 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.2343, allocations: 49.33 kB / 0.7858 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.358e-05/0.2344, allocations: 23.86 kB / 0.7858 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.57e-05/0.2345, allocations: 35.78 kB / 0.7859 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.2345, allocations: 8 kB / 0.7859 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.2345, allocations: 7.938 kB / 0.7859 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.2346, allocations: 15.98 kB / 0.7859 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.127e-05/0.2346, allocations: 35.75 kB / 0.7859 GB, free: 2 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.2348, allocations: 87.56 kB / 0.786 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2348, allocations: 0 / 0.786 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2348, allocations: 0 / 0.786 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.2348, allocations: 4 kB / 0.786 GB, free: 1.91 MB / 0.6544 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.0005762/0.2354, allocations: 387.1 kB / 0.7864 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.2354, allocations: 8.031 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.2355, allocations: 12.75 kB / 0.7864 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.2357, allocations: 203.2 kB / 0.7866 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.2358, allocations: 8.375 kB / 0.7866 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.2358, allocations: 4.375 kB / 0.7866 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.236, allocations: 99.89 kB / 0.7867 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.236, allocations: 192 / 0.7867 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.236, allocations: 7.938 kB / 0.7867 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.236, allocations: 4 kB / 0.7867 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.044e-05/0.2361, allocations: 35.98 kB / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006045/0.2367, allocations: 452.5 kB / 0.7872 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.118e-05/0.2368, allocations: 33.22 kB / 0.7872 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.249e-05/0.2369, allocations: 17.78 kB / 0.7872 GB, free: 500 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.2369, allocations: 3.984 kB / 0.7872 GB, free: 496 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.2369, allocations: 34.59 kB / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.2369, allocations: 0 / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001851/0.2371, allocations: 69.47 kB / 0.7873 GB, free: 376 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.2372, allocations: 77.11 kB / 0.7874 GB, free: 280 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.2374, allocations: 173.5 kB / 0.7876 GB, free: 96 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.2374, allocations: 25.7 kB / 0.7876 GB, free: 64 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.4879/0.7253, allocations: 105.1 kB / 0.7877 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.7254, allocations: 5.594 kB / 0.7877 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.531e-05/0.7255, allocations: 16.62 kB / 0.7877 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.112e-05/0.7255, allocations: 320.3 kB / 0.788 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.805e-05/0.7256, allocations: 9.812 kB / 0.788 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.688e-05/0.7257, allocations: 26.72 kB / 0.7881 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.648e-05/0.7258, allocations: 30.22 kB / 0.7881 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.7258, allocations: 1.062 kB / 0.7881 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001804/0.726, allocations: 61.53 kB / 0.7882 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.726, allocations: 5.906 kB / 0.7882 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.726, allocations: 3.75 kB / 0.7882 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.7261, allocations: 1 kB / 0.7882 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.7262, allocations: 9.25 kB / 0.7882 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.7262, allocations: 0.7031 kB / 0.7882 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.455e-05/0.7263, allocations: 6.406 kB / 0.7882 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.7263, allocations: 0 / 0.7882 GB, free: 48.15 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.871e-05/0.7264, allocations: 122.5 kB / 0.7883 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.054e-05/0.7265, allocations: 8.281 kB / 0.7883 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.7266, allocations: 16.5 kB / 0.7883 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.7266, allocations: 8.906 kB / 0.7883 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.7266, allocations: 0 / 0.7883 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.7266, allocations: 0 / 0.7883 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005207/0.7272, allocations: 474.9 kB / 0.7888 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.7272, allocations: 5.875 kB / 0.7888 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.7272, allocations: 2.719 kB / 0.7888 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.7272, allocations: 6 kB / 0.7888 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.7273, allocations: 3.938 kB / 0.7888 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.7273, allocations: 1.312 kB / 0.7888 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7273, allocations: 0.5938 kB / 0.7888 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.7274, allocations: 79 kB / 0.7889 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.7275, allocations: 101.3 kB / 0.789 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.7275, allocations: 0 / 0.789 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.692e-05/0.7276, allocations: 0.6562 kB / 0.789 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.7276, allocations: 6.094 kB / 0.789 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.7276, allocations: 0 / 0.789 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001309/0.7278, allocations: 125.1 kB / 0.7891 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.41e-07/0.7278, allocations: 0 / 0.7891 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003646/0.7281, allocations: 10.62 kB / 0.7891 GB, free: 47.32 MB / 0.6544 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 (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.0001123/0.7283, allocations: 104.5 kB / 0.7892 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.7284, allocations: 19.62 kB / 0.7892 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.7284, allocations: 0.875 kB / 0.7892 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.795e-05/0.7285, allocations: 8.312 kB / 0.7892 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.7288, allocations: 14.27 kB / 0.7893 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.7292, allocations: 168.8 kB / 0.7894 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.7293, allocations: 0.6968 MB / 0.7901 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.452e-05/0.7294, allocations: 8.594 kB / 0.7901 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.7294, allocations: 13 kB / 0.7901 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of SimCode: time 1.603e-06/0.7295, allocations: 0 / 0.7901 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.00393/0.7334, allocations: 487.5 kB / 0.7906 GB, free: 46.4 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)