Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001832/0.001832, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9871/0.9871, allocations: 177.2 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.958/1.958, allocations: 389.6 MB / 0.6354 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 0.7752 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.137e-05/3.369e-05, allocations: 4.703 kB / 0.7752 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002124/0.002158, allocations: 0.865 MB / 0.7761 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001602/0.002318, allocations: 44.89 kB / 0.7761 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.401e-05/0.002382, allocations: 0 / 0.7761 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.17e-05/0.002434, allocations: 13.62 kB / 0.7761 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.002546, allocations: 9.797 kB / 0.7761 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 5.392e-05/0.0026, allocations: 16.58 kB / 0.7761 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.002737, allocations: 65.03 kB / 0.7762 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.002877, allocations: 36.48 kB / 0.7762 GB, free: 4.332 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.002991, allocations: 45.88 kB / 0.7763 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.209e-05/0.003043, allocations: 15.91 kB / 0.7763 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.003066, allocations: 9.5 kB / 0.7763 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-06/0.003075, allocations: 4 kB / 0.7763 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.691e-05/0.003102, allocations: 15.92 kB / 0.7763 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.003128, allocations: 12 kB / 0.7763 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.003252, allocations: 44.42 kB / 0.7764 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.003256, allocations: 0.625 kB / 0.7764 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003257, allocations: 0 / 0.7764 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.003263, allocations: 1.188 kB / 0.7764 GB, free: 4.191 MB / 0.7292 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.0005113/0.003775, allocations: 284.5 kB / 0.7767 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.003816, allocations: 9.344 kB / 0.7767 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.003858, allocations: 22.08 kB / 0.7767 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.004027, allocations: 125.7 kB / 0.7768 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.004043, allocations: 8.375 kB / 0.7768 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.004053, allocations: 5.312 kB / 0.7768 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.00418, allocations: 86.2 kB / 0.7769 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.004191, allocations: 1.094 kB / 0.7769 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.004202, allocations: 8.375 kB / 0.7769 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.004211, allocations: 384 / 0.7769 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.235e-05/0.004243, allocations: 17.59 kB / 0.7769 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.004666, allocations: 0.5088 MB / 0.7774 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.841e-05/0.004745, allocations: 177.2 kB / 0.7776 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/0.004769, allocations: 80.83 kB / 0.7777 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.004799, allocations: 75.28 kB / 0.7777 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.004839, allocations: 115.6 kB / 0.7778 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.633e-06/0.004841, allocations: 0 / 0.7778 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 7.206e-05/0.004913, allocations: 29.7 kB / 0.7779 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.004967, allocations: 130.6 kB / 0.778 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.005078, allocations: 145.7 kB / 0.7781 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.005089, allocations: 26.58 kB / 0.7782 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/0.005152, allocations: 131.6 kB / 0.7783 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-06/0.005156, allocations: 4.562 kB / 0.7783 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.005187, allocations: 21.62 kB / 0.7783 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.826e-05/0.005275, allocations: 326.8 kB / 0.7786 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.005286, allocations: 4 kB / 0.7786 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.916e-05/0.005325, allocations: 54.89 kB / 0.7787 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.973e-05/0.005395, allocations: 69.55 kB / 0.7787 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005397, allocations: 0 / 0.7787 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001198/0.005517, allocations: 77.48 kB / 0.7788 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.005534, allocations: 4 kB / 0.7788 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.005543, allocations: 1 kB / 0.7788 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.005558, allocations: 4 kB / 0.7788 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.292e-05/0.005621, allocations: 17.39 kB / 0.7788 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.005634, allocations: 8.156 kB / 0.7789 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.587e-05/0.00566, allocations: 11.89 kB / 0.7789 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.005667, allocations: 11.92 kB / 0.7789 GB, free: 1.426 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 9.095e-05/0.005758, allocations: 189.9 kB / 0.7791 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.005805, allocations: 109 kB / 0.7792 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.846e-05/0.005863, allocations: 113.6 kB / 0.7793 GB, free: 1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-05/0.005914, allocations: 180.2 kB / 0.7794 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.631e-05/0.00596, allocations: 184.8 kB / 0.7796 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.67e-05/0.006007, allocations: 181.7 kB / 0.7798 GB, free: 456 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.006167, allocations: 337.3 kB / 0.7801 GB, free: 92 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.741e-05/0.006214, allocations: 108.9 kB / 0.7802 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.006242, allocations: 101 kB / 0.7803 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-05/0.006291, allocations: 181.4 kB / 0.7805 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.459e-05/0.006346, allocations: 180.3 kB / 0.7807 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-05/0.006396, allocations: 180.2 kB / 0.7808 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-05/0.006447, allocations: 180.7 kB / 0.781 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.006577, allocations: 311.7 kB / 0.7813 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/0.006632, allocations: 117.5 kB / 0.7814 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.454e-05/0.006686, allocations: 177.3 kB / 0.7816 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.139e-05/0.006738, allocations: 109.2 kB / 0.7817 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.0068, allocations: 176.3 kB / 0.7819 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/0.006835, allocations: 113.4 kB / 0.782 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.614e-05/0.006871, allocations: 36.77 kB / 0.782 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006871, allocations: 0.5312 kB / 0.782 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001381/0.007009, allocations: 8.938 kB / 0.782 GB, free: 14.05 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001288/0.007138, allocations: 148.2 kB / 0.7821 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.256e-05/0.007231, allocations: 30.59 kB / 0.7822 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.007235, allocations: 0 / 0.7822 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.025e-06/0.007238, allocations: 4.938 kB / 0.7822 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.007476, allocations: 461.5 kB / 0.7826 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.007767, allocations: 227.9 kB / 0.7828 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.296e-05/0.00781, allocations: 60.28 kB / 0.7829 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.964e-05/0.00786, allocations: 12 kB / 0.7829 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.007907, allocations: 55.38 kB / 0.783 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of SimCode: time 9.21e-07/0.007908, allocations: 0 / 0.783 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of Templates: time 0.002427/0.01033, allocations: 332.5 kB / 0.7833 GB, free: 12.7 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.2691557900980115]