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.001384/0.001384, allocations: 91.67 kB / 20.95 MB, free: 3.305 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.006333/0.006333, allocations: 162.9 kB / 24.38 MB, free: 8.531 MB / 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.9472/0.9472, allocations: 177.1 MB / 204.8 MB, free: 5.051 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.868/1.868, allocations: 389.6 MB / 0.6356 GB, free: 12.24 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.864e-06/1.864e-06, allocations: 0 / 0.7756 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.094e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002185/0.002206, allocations: 0.8671 MB / 0.7764 GB, free: 4.348 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001579/0.002364, allocations: 44.38 kB / 0.7765 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.002423, allocations: 6.75 kB / 0.7765 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.739e-05/0.002471, allocations: 7.875 kB / 0.7765 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.433e-05/0.002565, allocations: 13.39 kB / 0.7765 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 5.38e-05/0.002619, allocations: 16.92 kB / 0.7765 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.002741, allocations: 64.72 kB / 0.7766 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.002856, allocations: 27.95 kB / 0.7766 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.002971, allocations: 58.41 kB / 0.7766 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.137e-05/0.003013, allocations: 15.92 kB / 0.7767 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.003031, allocations: 4.688 kB / 0.7767 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.003042, allocations: 8 kB / 0.7767 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.003061, allocations: 5.031 kB / 0.7767 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.003091, allocations: 23.91 kB / 0.7767 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.865e-05/0.00319, allocations: 43.78 kB / 0.7767 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.003192, allocations: 1.781 kB / 0.7767 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.994e-06/0.003194, allocations: 3.984 kB / 0.7767 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.003198, allocations: 0 / 0.7767 GB, free: 4.031 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.0003295/0.003528, allocations: 280.6 kB / 0.777 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.003566, allocations: 10 kB / 0.777 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.003599, allocations: 12.92 kB / 0.777 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.003755, allocations: 134.3 kB / 0.7772 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.003768, allocations: 7.688 kB / 0.7772 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.003786, allocations: 8.375 kB / 0.7772 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.003911, allocations: 75.94 kB / 0.7772 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.003922, allocations: 192 / 0.7772 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.003931, allocations: 4.312 kB / 0.7772 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.00394, allocations: 4.375 kB / 0.7773 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.065e-05/0.00398, allocations: 19.92 kB / 0.7773 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.004476, allocations: 0.5127 MB / 0.7778 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.304e-05/0.004569, allocations: 180.7 kB / 0.7779 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.004599, allocations: 80.14 kB / 0.778 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.004625, allocations: 75.28 kB / 0.7781 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.343e-05/0.004679, allocations: 109.8 kB / 0.7782 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.00468, allocations: 0 / 0.7782 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 6.769e-05/0.004748, allocations: 29.69 kB / 0.7782 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.004811, allocations: 130.7 kB / 0.7784 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.00492, allocations: 141.4 kB / 0.7785 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.814e-06/0.004928, allocations: 29.7 kB / 0.7785 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.689e-05/0.004995, allocations: 128.5 kB / 0.7786 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-06/0.004998, allocations: 7.922 kB / 0.7786 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.00503, allocations: 22.28 kB / 0.7787 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.005132, allocations: 322.8 kB / 0.779 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.278e-06/0.005141, allocations: 4.766 kB / 0.779 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.384e-05/0.005185, allocations: 62.89 kB / 0.779 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.787e-05/0.005253, allocations: 66.39 kB / 0.7791 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.005255, allocations: 0 / 0.7791 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000121/0.005376, allocations: 75.05 kB / 0.7792 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.005393, allocations: 8.531 kB / 0.7792 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.005398, allocations: 0 / 0.7792 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.005411, allocations: 8.516 kB / 0.7792 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.773e-05/0.005469, allocations: 13 kB / 0.7792 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.005475, allocations: 7.984 kB / 0.7792 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.739e-05/0.005513, allocations: 11.89 kB / 0.7792 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.00552, allocations: 4.5 kB / 0.7792 GB, free: 1.277 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 8.27e-05/0.005603, allocations: 193.6 kB / 0.7794 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.005655, allocations: 106.6 kB / 0.7795 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.424e-05/0.005709, allocations: 120.7 kB / 0.7796 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.06e-05/0.00577, allocations: 176.3 kB / 0.7798 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.162e-05/0.005821, allocations: 180.3 kB / 0.78 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.085e-05/0.005882, allocations: 181.8 kB / 0.7801 GB, free: 304 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.006075, allocations: 333.3 kB / 0.7805 GB, free: 15.95 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.22e-05/0.006107, allocations: 108.9 kB / 0.7806 GB, free: 15.83 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.006138, allocations: 105 kB / 0.7807 GB, free: 15.72 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-05/0.006184, allocations: 176.3 kB / 0.7808 GB, free: 15.54 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.409e-05/0.006238, allocations: 189 kB / 0.781 GB, free: 15.35 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.79e-05/0.006286, allocations: 176.3 kB / 0.7812 GB, free: 15.17 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.862e-05/0.006335, allocations: 180.7 kB / 0.7814 GB, free: 14.99 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.006445, allocations: 308.4 kB / 0.7816 GB, free: 14.66 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 4.83e-05/0.006493, allocations: 116.9 kB / 0.7818 GB, free: 14.54 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.481e-05/0.006548, allocations: 181.1 kB / 0.7819 GB, free: 14.36 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.006618, allocations: 113.2 kB / 0.782 GB, free: 14.24 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.006675, allocations: 177.2 kB / 0.7822 GB, free: 14.06 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.006707, allocations: 105 kB / 0.7823 GB, free: 13.95 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 3.572e-05/0.006743, allocations: 34.14 kB / 0.7823 GB, free: 13.92 MB / 0.7449 GB Notification: Performance of sort global known variables: time 8.1e-08/0.006743, allocations: 1.031 kB / 0.7823 GB, free: 13.92 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.000219/0.006962, allocations: 11.94 kB / 0.7824 GB, free: 13.91 MB / 0.7449 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 9.488e-05/0.007057, allocations: 155.9 kB / 0.7825 GB, free: 13.75 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 6.467e-05/0.007121, allocations: 26.55 kB / 0.7825 GB, free: 13.72 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.007125, allocations: 4 kB / 0.7825 GB, free: 13.72 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-06/0.007126, allocations: 0 / 0.7825 GB, free: 13.72 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.007389, allocations: 464.5 kB / 0.783 GB, free: 13.26 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.007643, allocations: 231.9 kB / 0.7832 GB, free: 13.01 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.986e-05/0.007682, allocations: 64 kB / 0.7833 GB, free: 12.93 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 4.041e-05/0.007723, allocations: 6.141 kB / 0.7833 GB, free: 12.92 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.007758, allocations: 55.38 kB / 0.7833 GB, free: 12.86 MB / 0.7449 GB Notification: Performance of SimCode: time 5.11e-07/0.007759, allocations: 1.125 kB / 0.7833 GB, free: 12.86 MB / 0.7449 GB Notification: Performance of Templates: time 0.001864/0.009623, allocations: 337.8 kB / 0.7836 GB, free: 12.55 MB / 0.7449 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: 4.972144363448024]